On 17/11/2022 04:04, Han Li wrote:
I think that I encounter a problem, shown below:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [17] in the jsp file: [/jsp/include/foo.jsp]
System cannot be resolved
14:   See the License for the specific language governing permissions and
15:   limitations under the License.
16:
17: --%><%= System.currentTimeMillis() %>


Stacktrace:
        
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
        
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
        
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:589)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:380)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:765)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
        
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

Ant test show passes, but there are problems. (I downloaded 8.5.83 from the 
official website, then accessed example webapp
  and also have this problem). I don’t know JDT, but I tested again by 
upgrading ecj version to 4.25 and this
problem was solved.

I can't repeat this.

I downloaded the 8.5.84 RC and then tested with Oracle JDK 1.7.0_80. The JSP include example worked.

I then cleared out the work directory, switched to Temurin JDK 11.0.17_08 and tested the JSP include example. That worked too.

I made no changes to the Eclipse compiler JAR.

Can you provide the exact steps to recreate the issue from a clean 8.5.84 download?

Mark




Han

2022年11月17日 00:03,Christopher Schultz <ch...@christopherschultz.net> 写道:

The proposed Apache Tomcat 8.5.84 release is now available for voting.

The notable changes compared to 8.5.83 are:

- Fix concurrency issue in evaluation of expression language containing
   lambda expressions.

- Correct the date format used with the expires attribute of HTTP
   cookies. A single space rather than a single dash should be used to
   separate the day, month and year components to be compliant with RFC
   6265.

- Update to Commons Daemon 1.3.2.

Along with lots of other bug fixes and improvements.

For full details, see the changelog:
https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.84/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1407

The tag is:
https://github.com/apache/tomcat/tree/8.5.84/
079a46c1c1e56b1743e752a44450469690880a56

The proposed 8.5.84 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 8.5.84 (stable)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to