Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Test bundle with Nashorn fails in jre8_152 #14

Open
jfillo opened this issue Dec 11, 2017 · 2 comments
Open

Test bundle with Nashorn fails in jre8_152 #14

jfillo opened this issue Dec 11, 2017 · 2 comments

Comments

@jfillo
Copy link
Contributor

jfillo commented Dec 11, 2017

Updated java to the newest version and the "Test Bundle with Nashorn" phase is failing (See trace below).

I downgrading JJS to the version listed in your README (exe from java8u65) and the phase completed successfully.

Some preliminary sleuthing points towards the JJS executable mucking up the classpath argument - but I haven't found anything solid.

Anyone else able to recreate this on mac/linux?

--- Trace ---

jjs [<options>] <files> [-- <arguments>] "Illegal char <:> at index 62: C:\Users\jfillo\web\site-hackathon\target\classes; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-starter-web\1.4.2.RELEASE\spring-boot-starter-web-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-starter\1.4.2.RELEASE\spring-boot-starter-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot\1.4.2.RELEASE\spring-boot-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\1.4.2.RELEASE\spring-boot-autoconfigure-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-starter-logging\1.4.2.RELEASE\spring-boot-starter-logging-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\ch\qos\logback\logback-classic\1.1.7\logback-classic-1.1.7.jar; C:\Users\jfillo\.m2\repository\ch\qos\logback\logback-core\1.1.7\logback-core-1.1.7.jar; C:\Users\jfillo\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.21\jcl-over-slf4j-1.7.21.jar; C:\Users\jfillo\.m2\repository\org\slf4j\jul-to-slf4j\1.7.21\jul-to-slf4j-1.7.21.jar; C:\Users\jfillo\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.21\log4j-over-slf4j-1.7.21.jar; C:\Users\jfillo\.m2\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\1.4.2.RELEASE\spring-boot-starter-tomcat-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.6\tomcat-embed-core-8.5.6.jar; C:\Users\jfillo\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.6\tomcat-embed-el-8.5.6.jar; C:\Users\jfillo\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.6\tomcat-embed-websocket-8.5.6.jar; C:\Users\jfillo\.m2\repository\org\hibernate\hibernate-validator\5.2.4.Final\hibernate-validator-5.2.4.Final.jar; C:\Users\jfillo\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar; C:\Users\jfillo\.m2\repository\org\jboss\logging\jboss-logging\3.3.0.Final\jboss-logging-3.3.0.Final.jar; C:\Users\jfillo\.m2\repository\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar; C:\Users\jfillo\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.4\jackson-databind-2.8.4.jar; C:\Users\jfillo\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.4\jackson-annotations-2.8.4.jar; C:\Users\jfillo\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.4\jackson-core-2.8.4.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-web\4.3.4.RELEASE\spring-web-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-beans\4.3.4.RELEASE\spring-beans-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-context\4.3.4.RELEASE\spring-context-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-webmvc\4.3.4.RELEASE\spring-webmvc-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-expression\4.3.4.RELEASE\spring-expression-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\boot\spring-boot-starter-security\1.4.2.RELEASE\spring-boot-starter-security-1.4.2.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-aop\4.3.4.RELEASE\spring-aop-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\security\spring-security-config\4.1.3.RELEASE\spring-security-config-4.1.3.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\security\spring-security-core\4.1.3.RELEASE\spring-security-core-4.1.3.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\springframework\security\spring-security-web\4.1.3.RELEASE\spring-security-web-4.1.3.RELEASE.jar; C:\Users\jfillo\.m2\repository\org\slf4j\slf4j-api\1.7.21\slf4j-api-1.7.21.jar; C:\Users\jfillo\.m2\repository\org\springframework\spring-core\4.3.4.RELEASE\spring-core-4.3.4.RELEASE.jar; C:\Users\jfillo\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.

@pugnascotia
Copy link
Owner

It works on Mac OK. I wonder if it's to do with the following in pom.xml?

<commandlineArgs>-cp %classpath -scripting ${project.basedir}/src/test/js/react-renderer/test.js</commandlineArgs>

Maybe try putting quotes around %classpath?

@AntoineKM
Copy link

It works on Mac OK. I wonder if it's to do with the following in pom.xml?

<commandlineArgs>-cp %classpath -scripting ${project.basedir}/src/test/js/react-renderer/test.js</commandlineArgs>

Maybe try putting quotes around %classpath?

i tried it still doesn't work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants