项目是struts2.3.15+spring3,搭建后,用jetty正常启动后,访问jsp时Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.ast.Expression的问题。
部分maven配置:
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-2.1-jetty</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-2.1-glassfish</artifactId>
<version>2.1.v20091210</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-api-2.1-glassfish</artifactId>
<version>2.1.v20091210</version>
</dependency>
</dependencies>
<properties>
<jetty.version>6.1.26</jetty.version>
</properties>
<!-- jetty -->
org.mortbay.jetty
maven-jetty-plugin
${jetty.version}
<!-- Log to the console. -->
<!-- This doesn't do anything for Jetty, but is a workaround for a
Maven bug that prevents the requestLog from being set. -->
true
10
src/main/java
src/main/webapp/WEB-INF
src/main/resources
求解,是jetty版本过低导致的么?
servlet版本是2.5 用的IDE是eclipse3.6
求解 谢谢各位大大