主题 : idea使用Tomcat启动一直报shiroFilter的错误 |
级别: 解元
![]() |
1# 发表于:2020-11-19 10:15:53 IP:125.17.*.*
|
||||
---|---|---|---|---|---|
级别: 解元
![]() |
3# 发表于:2020-11-19 10:21:03 IP:125.17.*.*
回复第2楼
我知道咱们的v9版本已经停用了,但是遇到问题还是想问下, 环境就是直接拉的咱们的代码,然后使用tomca7插件去启动的,jdk是1.8 |
||
---|---|---|---|
级别: 解元
![]() |
4# 发表于:2020-11-19 10:21:42 IP:125.17.*.*
回复第2楼
<!-- 指定jdk1.7编译,否则maven update 可能调整jdk--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.7</source> <target>1.7</target> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- tomcat7插件。使用方式:tomcat7:run --> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <port>8080</port> <uriEncoding>UTF-8</uriEncoding> <server>tomcat8</server> <contextReloadable>false</contextReloadable> <useTestClasspath>true</useTestClasspath> </configuration> </plugin> |
||
---|---|---|---|
级别: 管理员
![]() |
7# 发表于:2020-11-19 10:30:35 IP:111.203.*.*
回复第6楼
您这是类编译失败,可能本地环境有问题 建议你在重新编译下 。 您试试上面这句话的操作试试看 |
||
---|---|---|---|
级别: 管理员
![]() |
9# 发表于:2020-11-19 10:40:46 IP:111.203.*.*
回复第8楼 你这是类编译失败,可能本地环境有问题 建议你换jdk1.8在重新编译下
|
||
---|---|---|---|
级别: 解元
![]() |
10# 发表于:2020-11-19 10:44:18 IP:125.17.*.*
回复第9楼
你好 我想问下 你说的这个换1.8重新编译,是rebuild吗 |
||
---|---|---|---|