FS#42800 - [Java] Unable to start Spring Roo

Attached to Project: Arch Linux
Opened by Caleb Cushing (xenoterracide) - Saturday, 15 November 2014, 17:25 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 16 November 2014, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

https://jira.spring.io/browse/ROO-3552

Just copied the text of the above filed bug, I'm attempting to discern where the problem actually is, the exceptions suggest that roo is unable to load core java classpath, or it is configured imporperly.

Arch has changed some of how it sets up Java. I'm trying to get Spring Roo working, but it seems not to finding java provided classes on the class path. I'm running ./bin/roo.sh
https://www.archlinux.org/news/java-users-manual-intervention-required-before-upgrade/
however, this doesn't appear to affect any other independently installed applications like IDEA, so I'm wondering if it might be a bug in roo.sh


1
Resolved ROO_HOME: /home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE JAVA_HOME /usr/lib/jvm/default ROO_CP: /home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/bin/org.apache.felix.framework-3.2.2.jar:/home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/bin/org.springframework.roo.bootstrap-1.2.5.RELEASE.jar ROO_OSGI_FRAMEWORK_STORAGE: /home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/cache ROO_AUTO_DEPLOY_DIRECTORY: /home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/bundle ROO_CONFIG_FILE_PROPERTIES: /home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/conf/config.properties Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true ERROR: Bundle com.github.antlrjavaparser.antlr-java-parser [3] Error starting file:/home/xenoterracide/.opt/spring-roo-1.2.5.RELEASE/bundle/antlr-java-parser-1.0.14.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.github.antlrjavaparser.antlr-java-parser [3]: Unable to resolve 3.0: missing requirement [3.0] package; (package=org.antlr.v4.runtime) [caused by: Unable to resolve 74.0: missing requirement [74.0] package; (package=javax.imageio)]) org.osgi.framework.BundleException: Unresolved constraint in bundle com.github.antlrjavaparser.antlr-java-parser [3]: Unable to resolve 3.0: missing requirement [3.0] package; (package=org.antlr.v4.runtime) [caused by: Unable to resolve 74.0: missing requirement [74.0] package; (package=javax.imageio)] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564) at org.apache.felix.framework.Felix.startBundle(Felix.java:1797) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266) at java.lang.Thread.run(Thread.java:745) ERROR: Bundle org.springframework.roo.addon.backup
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Sunday, 16 November 2014, 21:08 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Said software is not compatible yet with java8
Comment by Guillaume ALAUX (galaux) - Sunday, 16 November 2014, 16:34 GMT
I get this error when trying to runn roo.sh with OpenJDK8 but not with OpenJDK7. Which one are you running?
This bug report seems to deal with Java8 compatibility and says:

Status:OPEN
Resolution: Unresolved
Fix Version/s:1.3.0.RELEASE

https://jira.spring.io/browse/ROO-3505
Comment by Caleb Cushing (xenoterracide) - Sunday, 16 November 2014, 20:42 GMT
heh, JDK8.
Comment by Guillaume ALAUX (galaux) - Sunday, 16 November 2014, 21:07 GMT
Ok! So closing this bug report.

Loading...