备忘ClassNotFoundException: javax.interceptor.InvocationContext

在整合好spring-mvc3、maven、以及mybatis之后,启动jetty7.0.pre5时,发现了如下错误:
ClassNotFoundException: javax.interceptor.InvocationContext
从网上查了很久,花了很多时间,最后才找出来解决办法:更换jetty插件版本:
<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>6.1.26</version>
				<configuration>
					<webApp>target/iris-0.0.1-SNAPSHOT.war</webApp>
					<connectors>
						<connector
							implementation="org.mortbay.jetty.nio.SelectChannelConnector">
							<port>8087</port>
						</connector>
					</connectors>
					<stopKey>exit</stopKey>
					<stopPort>8081</stopPort>
					<scanIntervalSeconds>2</scanIntervalSeconds>
				</configuration>
			</plugin>


相关参考资料:
http://jira.codehaus.org/browse/JETTY-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

你可能感兴趣的:(spring,MVC3,jetty7)