大家好,我用maven建立了一个多模块工程。
再web工程上跑jetty的时候报错
com.opensymphony.xwork2.util.classloader.FileResourceStore.debug:61 - Unable to read file [java/lang/Exception.class]
java.io.FileNotFoundException: G:\java\dropbox\My Dropbox\haiqiang\toto\target\classes\java\lang\Exception.class (系统找不到指定的路径。)
怎么会这样的?
它没有自动去classpath扫描jar包么?怎么只在target/classes目录下找?
再web工程上跑jetty的时候报错
com.opensymphony.xwork2.util.classloader.FileResourceStore.debug:61 - Unable to read file [java/lang/Exception.class]
java.io.FileNotFoundException: G:\java\dropbox\My Dropbox\haiqiang\toto\target\classes\java\lang\Exception.class (系统找不到指定的路径。)
怎么会这样的?
它没有自动去classpath扫描jar包么?怎么只在target/classes目录下找?
解决方案 »
- 【高分】(急)XML/SAML/xmlbeans高手进,error: cvc-elt.1: Invalid type
- common-fileupload 上传问题
- hibernate映射问题
- Mysql 5.0 乱码以及在web.xml中设置filter后的显示乱码问题,高手请进来帮帮小弟哦
- java新人求助大神。
- 请问怎么把工具栏上的按钮变成类似ie上的那种鼠标移上去才凸现出来的那种按钮?
- 我用Struts做一个向导式页面,用一个ActionForm来收集每个页面得到的数据,Scope设为request。。。。。。
- struts的初级问题
- 我是初学者,请大家帮帮忙,关于编译的问题
- <jsp:include flush="true" page="/servlet/ListServlet"/>
- 求救。。。。JBOSS 部署JMS 。。。
- struts2中标注式配置全局error跳转,请各位帮助!
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.10</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<stopKey>foo</stopKey>
<stopPort>9999</stopPort>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>有环境变量classpath和maven_home吗