I am getting below error while tomcat startup(with...
# lucee
p
I am getting below error while tomcat startup(with maven, lucee-5.3.10.120) and when updating apache felix framework to 7.0.5, it still does not load spring context loader vs it uses lucee context loader as default and hence no java services are initialized and no rest calls:
Copy code
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/home/prashant/install/tomcat9/webapps/myApp/WEB-INF/lib/lucee.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
b
What Java version?
p
java 11
b
@Prashant Gupta So, what exactly is the problem? The warning above is not an error, and is common to see on Java 11. You said something "does not load" and mentioned "no rest calls", but I have no idea what you're talking about without much, much more information.
p
actually my /svcs/ calls are not working with lucee
b
If you think that's enough information for anyone here to help you, it's not šŸ™‚
p
will try get some more, thanks for all the help šŸ™‚
b
I'm just entirely guessing here, but are you trying to run two separate WARs on Tomcat side-by-side? • A Java Spring app • a Lucee Server app
You mentioned Spring, but you haven't really told us what you're doing with it, how it's installed, or how you're using it/expecting it to work
p
actually war is for lucee only but yes spring app and lucee both on tomcat
lucee.war contains all references to spring jars
b
Ok, so... how is it configured? What is the context root? What does your
web.xml
look like? What URLs are you hitting? What happens when you hit them? Are there errors? What steps have you taken to troubleshoot?
These are all questions you should have already volunteered the answers to
Basic information neccessary to even understand your setup, let alone help you with it.
p
Thanks Brad, let me get all info first and then come back, it is an eye opener.