- 使用ieda构建web工程项目,启动tomcat报错:
java.lang.NoClassDefFoundError: org/apache/shiro/authc/AuthenticationToken
maven经过不断的clean,compile、package都没有作用,最后发现是因为compile后生成了jar包
于是手动在pom.xml文件加上war包配置
<groupId>cn.com.shiro</groupId>
<artifactId>shiro-web</artifactId>
<packaging>war&l