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不熟,望高手解答,谢谢!
解决方案 »
- java 里面能把method name 作为另外一个method 的参数吗?
- 分层的困惑。写多了才发现,我把业务逻辑写action里面了,求解决方案
- 如何解决购物中的并发问题
- linux系统下能否访问到windows系统的SQLServer数据库?
- 请问JNDI的lookup() 和 RMI的 lookup()有什么区别?????
- 谁用过jwebap监视系统
- struts中ApplicationResources.properties文件的{0}{1}{2}...
- 还有人用STRUTS吗?还有人有兴趣研究它的工作内幕吗?
- 散分!急问各位!用javamail如何实现向用户信箱发送html?
- 一个简单的问题!在线等待!
- hql语句中文乱码问题如何解决?
- No tag "forEatch" defined in tag library imported with prefix "c"
代码在eclipse下编译没问题,也清理过了,还是报错
然后执行 mvn 命令 如:mvn compile 、 mvn install 、 mvn deploy
都没问题了