pom.xml配置<parent>
<groupId>com.hxsmart.sicard</groupId>
<artifactId>sicard</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>报错如下:E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,65] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,118] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,66] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,119] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.Constant
在Constant中:public static String autoTapeFile= "/home/sybase/";
尝试了很多方法都没有解决,对maven不熟,望高手解答,谢谢!
<groupId>com.hxsmart.sicard</groupId>
<artifactId>sicard</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>报错如下:E:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,65] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\webapp\action\
process\DayEndProcessBean.java:[298,118] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,66] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.ConstantE:\workspace\iccardcore\mis\src\main\java\com\hxsmart\sicard\core\schedule\DayEn
dJob.java:[94,119] 找不到符号
符号: 变量 autoTapeFile
位置: 类 com.hxsmart.framework.webapp.util.Constant
在Constant中:public static String autoTapeFile= "/home/sybase/";
尝试了很多方法都没有解决,对maven不熟,望高手解答,谢谢!
解决方案 »
- 如何能快速的查找数据
- 求助:Struts验证错误显示
- 做Struts框架,在MyEclipse中启动Tomcat6.0时所抛出的异常
- <form action="" method="get"></form>问题
- 在sql 里面进行逻辑运算问题,请兄弟们帮帮忙
- hibernate的异常,求解,
- acegi如果实现这种控制
- 我用JNI 法由DLL返回一个jclass 值, JNIEXPORT jclass 实例化的问题.
- hibernate连接数据库的问题!!
- 如何才能到达J2EE设计师的水平,应该要懂那些知识???
- hql语句中文乱码问题如何解决?
- No tag "forEatch" defined in tag library imported with prefix "c"
代码在eclipse下编译没问题,也清理过了,还是报错
然后执行 mvn 命令 如:mvn compile 、 mvn install 、 mvn deploy
都没问题了