生成的的代码:
1.javacommon.base.BaseRestSpringController<Entity, PK> 中
The import org.springframework.web.bind.annotation.PathVariable cannot be
resolved
2.org.springframework.web.servlet.view.ContentNegotiatingViewResolver
中 The import org.springframework.http cannot be resolved
下了spring-framework-3.0.0.RC2 发现在org.springframework.web-3.0.0.RC2.jar
有,于是将其导入工程中。又发现
org.springframework.web.servlet.view.ContentNegotiatingViewResolver中
233行OrderComparator.sort(this.viewResolvers);提示The method
sort(List<ViewResolver>) is undefined for the type OrderComparator;252行
String filename = WebUtils.extractFullFilenameFromUrlPath(requestUri);提示
The method extractFullFilenameFromUrlPath(String) is undefined for the type
WebUtils 似乎整个spring.jar 都要被替换掉了。
并且public class BaseRestSpringController<Entity,PK> extends
BaseSpringController 也需手动将plugins\springmvc\src\javacommon\javacommon
\base中的BaseSpringController 拷到 src\javacommon\javacommon\base 中。
Original issue reported on code.google.com by zgw06...@gmail.com on 17 Nov 2009 at 6:37
Original issue reported on code.google.com by
zgw06...@gmail.com
on 17 Nov 2009 at 6:37