配置maven启动com.blade.web.DispatcherServlet cannot be cast to javax.servlet.Servlet com.blade.web.Disp

来源:互联网 发布:淘宝阿里巴巴 编辑:程序博客网 时间:2024/06/08 05:23

错误 No plugin found for prefix 'tomcat7' in the current project and in the plugi

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/NywktManager</path>
<port>8082</port>
</configuration>
</plugin>

后出现错误 com.blade.web.DispatcherServlet cannot be cast to javax.servlet.Servlet


<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>${jsp-api.version}</version>
<scope>provided</scope>
</dependency>

阅读全文
0 0
原创粉丝点击