Tag Archives: Maven compilation error

Maven compilation error “symbol not found” [How to Solve]

The error is reported as follows.

E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,65] Symbol not found
Symbol: Variable autoTapeFile
Location: class com.hxsmart.framework.webapp.util.

E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,118] Symbol not found
Symbol: Variable autoTapeFile
Location: class com.hxsmart.framework.webapp.util.

E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,66] Symbol not found
Symbol: Variable autoTapeFile
Location: class com.hxsmart.framework.webapp.util.

E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,119] Symbol not found
Symbol: Variable autoTapeFile
Location: class com.hxsmart.framework.webapp.util.

Solution.

Make sure the Java code and compilation are OK, clean up using projec->clean and then try again.