我是eclipse和maven的新手,并尝试创建一个新项目,但是当我尝试升级我的maven项目时,它抛出此错误::无法配置“项目名称”,插件:org.eclipse.m2e.logback.appender 。我竭尽所能,但找不到解决此问题的有用帮助
这是我的web.xml
,当我更改web-app
标签中的代码时,它将引发错误
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<display-name>Archetype Created Web Application</display-name>
<servlet>
<servlet-name>HotlineManagerV2</servlet-name>
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>jersey.config.server.provider.packages</param-name>
<param-value>HotlineManagerV2.rest</param-value>
</init-param>
<init-param>
<param-name>jersey.config.server.provider.classnames</param-name>
<param-value>org.glassfish.jersey.jettison.JettisonFeature</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>HotlineManagerV2</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</web-app>