We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jdk 1.8 版本 idea 2018.2.3
重要的异常信息 SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer
引入的tomcat插件 org.apache.tomcat.maven tomcat7-maven-plugin 2.0 8080 / utf-8
maven启动配置 clean tomcat7:run pom配置 只改了log4j依赖为1.2.17 并添加tomca插件配置
(用tomcat启动可以,但使用插件启动报错)
The text was updated successfully, but these errors were encountered:
别折腾了, 老实用tomcat >=8 另外我研究明白了怎么使用tomcat9:run
Sorry, something went wrong.
<dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>9.0.2</version> </dependency>
这个依赖和插件冲突,去掉就好了
No branches or pull requests
jdk 1.8 版本 idea 2018.2.3
重要的异常信息 SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer
引入的tomcat插件
org.apache.tomcat.maven
tomcat7-maven-plugin
2.0
8080
/
utf-8
maven启动配置 clean tomcat7:run
pom配置 只改了log4j依赖为1.2.17 并添加tomca插件配置
(用tomcat启动可以,但使用插件启动报错)
The text was updated successfully, but these errors were encountered: