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
Trade signals time series dataHi! I have a question regarding the following; I have obtained buy signals from stock data for every…
ploting the panel data by using "LPM" methodhello everyone, I use the "local projection method " for estimating the effect of the crisis on fert…
Fixed Effect Regression - Firm Level and Industry Level effectsHello, I am working with panel data for US-listed manufacturing firms for the period 2000-2019. I h…
Reading xml filesDear all, It's the first time that I'm trying to work with xml files. Unfortunately, in this post I…
Generating new dummy var in an individual level dataset that gives country-year level information for each individualHello, I have individual-level data that looks like this: indiv_id country_code indiv_disc_dummy…
Subscribe to:
Post Comments (Atom)
0 Response to java.lang.NoSuchMethodError + Stata 15.1
Post a Comment