Hi,
It is my first time on this website, recently I had the error regarding java in Stata 15.1 , on the Stata 15 everything was fine and my code worked.
but now it is not and gives me this error
the error : java.lang.NoSuchMethodError: Method com.stata.sfi.DataFrame.dropVar(Ljava/lang/String;I)I name or signature does not match
the code is :
cap cd `csv_folder'
local filelistA: dir . files "*.csv"
foreach file of local filelistA {
import delimited `file', varnames(1) encoding(UTF-8) clear
drop var2 var 3 var4
local dta_file = "`file'"+".dta"
save "`dta_folder'\`dta_file'", replace
}
clear
set obs 1
g Var1=.
save "`data_folder'\alldata.dta", replace
I am not sure if the problem is produced by Java or by this version of Stata, (15.1), I have checked the java , its there and the version is 1.8.0_144
I hope if there is a way to fix it
Regards,
Related Posts with java.lang.NoSuchMethodError + Stata 15.1
Why does Stata allow a random effect without a level-1 effect?The command for an HLM model in Stata is: Code: mixed depvar indepvars . . . || levelvar: revars, …
How to estimate the risk difference with margins after meprobitDear Statalist, Happy new year! Here is my question: Code: clear set seed 2020 set obs 400 set …
Nonlinear decomposition with interaction effectHi all, I am studying the effect of child health on educational outcomes. My IV is the likelihood of…
Annualized Sharpe ratios and VolatilitiesGood morning, I have Monthly excess returns of two portfolios P1 and P8 over 29 years. For my maste…
Multiple imputation and multi-level data questionHello, I am looking for help with multiple imputation and multi-level data. At level 2 I only have …
Subscribe to:
Post Comments (Atom)
0 Response to java.lang.NoSuchMethodError + Stata 15.1
Post a Comment