-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Kent Yeh opened SPR-11238 and commented
I have same problem
when I running under jdk 1.6.0_33 with error
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /mavenrepository/org/springframework/spring-context/4.0.0.RELEASE/spring-context-4.0.0.RELEASE.jar!org/springframework/scheduling/annotation/Scheduled.class: org/springframework/scheduling/annotation/Scheduled.class(org/springframework/scheduling/annotation:Scheduled.class): warning: Cannot find annotation method 'value()' in type 'java.lang.annotation.Repeatable': class file for java.lang.annotation.Repeatable not found
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /ttsrc/git/kmlgen/src/test/java/kml/controller/TestDefaultController.java:[81,42] incompatible types; inferred type argument(s) java.lang.Object do not conform to bounds of type variable(s) B
found : <B>org.springframework.test.web.servlet.setup.DefaultMockMvcBuilder<B>
required: java.lang.Object
Affects: 4.0 GA
Reference URL: http://stackoverflow.com/questions/20574894/spring4-mvc-unit-test-does-not-compile
Attachments:
- test4spring4.zip (46.87 kB)
Issue Links:
- MVC Test: compile issue when using MockMvcBuilders.webAppContextSetup(...).build() [SPR-11283] #15907 MVC Test: compile issue when using MockMvcBuilders.webAppContextSetup(...).build() ("is duplicated by")
Referenced from: commits 2e4f38f
0 votes, 6 watchers
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement