Is this a known bug/issue in Roo or STS? Is there a fix?
Everything was fine with my project. I entered the "web mvc setup" command in the Roo shell and it proceeded to do its thing. The Problems view in eclipse then reported errors in several of my Spring configuration files:
Here's the applicationContext-jpa.xml file (generated by Roo):Code:Multiple annotations found at this line: - Referenced file contains errors (jar:file:/Users/jhall/.m2/repository/org/springframework/spring-beans/3.1.0.RELEASE/spring- beans-3.1.0.RELEASE.jar!/org/springframework/beans/factory/xml/spring-tool-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..." - Referenced file contains errors (jar:file:/Users/jhall/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring- context-3.1.0.RELEASE.jar!/org/springframework/context/config/spring-context-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..." - Referenced file contains errors (jar:file:/Users/jhall/.m2/repository/org/springframework/spring-beans/3.1.0.RELEASE/spring- beans-3.1.0.RELEASE.jar!/org/springframework/beans/factory/xml/spring-beans-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
OS: OSX 10.6.8Code:<?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/data/jpa" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> <repositories base-package="org.rooinaction" /> </beans:beans>
STS version: 2.9.0
Roo version: 1.2.1
JDK: Latest Mac OS X version (1.6)
I'm learning Roo, so I don't know what to do at this point.
Thanks!
-Jeff


Reply With Quote
