Enunciate가 Spring MVC @RequestMapping 나머지 주석을 지원하는지 알고 있습니까?
답변 : 아니오, 그냥 JAX-RS.
누구나 mvn 플러그인을 실행하기위한 enunciate.xml 및 pom.xml 파일이 있습니까? mvn 플러그인이 web.xml을 올바르게 병합하지 않습니다.
의 pom.xml :
<project><build><plugins>
<plugin>
<groupId>org.codehaus.enunciate</groupId>
<artifactId>maven-enunciate-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<goals>
<goal>assemble</goal>
</goals>
</execution>
</executions>
</plugin>
enunciate.xml :
<enunciate>
<webapp mergeWebXML="./path/to/my/web.xml"/>
그래서하게 발음이 생성/API 서블릿의 이름을 변경 어떻게?
Enunciate는 "/ api"라는 서블릿을 만들지 않습니다. 네가 무슨 말하는지 모르겠다.
이것이 잘못되었습니다. Ryan의 답변이 더 좋습니다. –