java - spring rest example from git not working -
yesterday tried "spring rest-example" , im pretty sure worked, on different pc did not...just gives me customized 404 jetty.
so in evening tried again on first pc , whatever reason maven updated bunch of libraries when executing site:run , got same error message.
the pcs different, believe library problem....how troubleshoot this?
since code pulling in jetty 6.1.25 looks quite old according version information tried use current 1 it, modified pom.xml
<plugin> <groupid>org.eclipse.jetty</groupid> <artifactid>jetty-maven-plugin</artifactid> <version>9.4.6.v20170531</version> <configuration> <httpconnector> <port>9999</port> </httpconnector> </configuration> </plugin>
but ignored. found these lines of code here 1 on second im not sure if need jetty-maven-plugin or jetty-server right software use here...the maven descriptions rather short. ideas?
in 2 says if execute goal jetty:run jetty server start , check if code uptodate , refresh if needed. sadly jetty:run throws this:
java.util.serviceconfigurationerror: org.apache.juli.logging.log: provider org.eclipse.jetty.apache.jsp.julilog not subtype
which seems problem between tomcat-jdbc , jetty on quick google search. tomcat-jdbc not mentioned when running dependency:tree [3]
so how project use current jetty try if error disappears or solve this?
please remove spaces in link open, thank you. [3] https :// bpaste.net /show/ 3f943e33827a
im not sure changed, checkout , working. did run git pull on old sources , said local checkout uptodate.
Comments
Post a Comment