https://bz.apache.org/bugzilla/show_bug.cgi?id=64427
Bug ID: 64427
Summary: --enable-preview no error in log
Product: Tomcat 9
Version: 9.0.x
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 37236
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37236&action=edit
example stacktrace in jetty
The war of a webapplication has been compiled with enable-preview (to be able
to use java 14 record). When I put the war into the webapp, tomcat deploys the
application. Calling the url nothing happens, not really nothing, I will get an
404 http error. No error is written in the logs.
When I set JAVA_OPTS=--enable-preview everything works fine. I think it would
be nice to see the Error in the logs (especially deploying it the first time
using preview features with a new java version. Often jetty is used in the
development and so you will run into problems deploying it the first time in a
tomcat ...
Tomcat 10 its the same
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]