Hi Isomorphic,
I'm in the process of updating from v12.0p_2020-03-11 to v12.1p_2022-06-03.
The normal application seems to run fine to far. Right now I'm trying to access RESTHandler and get this exception when doing so (1st GET to /RESTHandler):
I know that you are not in the Stack trace, but could this be related to a change between versions? I did not read anything about freemarker in the docs, so I'm a bit confused.
What I do is to compile my application with 12.0p and 12.1p and deploy them both under different subdomains on my local Tomcat 9.0.31.
It also happens if I just deploy the new 12.1p version.
Both have the same (apart from bumped version numbers) 100 jars in the ROOT\WEB-INF\lib folder.
I'll investigate further, but if this means anything to you, please let me know.
Best regards
Blama
I'm in the process of updating from v12.0p_2020-03-11 to v12.1p_2022-06-03.
The normal application seems to run fine to far. Right now I'm trying to access RESTHandler and get this exception when doing so (1st GET to /RESTHandler):
Code:
SCHWERWIEGEND: Allocate exception for servlet [RESTHandler] java.lang.ClassNotFoundException: freemarker.cache.TemplateLoader at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1070) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:788) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:128) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.valves.rewrite.RewriteValve.invoke(RewriteValve.java:289) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
What I do is to compile my application with 12.0p and 12.1p and deploy them both under different subdomains on my local Tomcat 9.0.31.
It also happens if I just deploy the new 12.1p version.
Both have the same (apart from bumped version numbers) 100 jars in the ROOT\WEB-INF\lib folder.
I'll investigate further, but if this means anything to you, please let me know.
Best regards
Blama
Comment