olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7k stars 1.97k forks source link

Unable to compile class for JSP after including the metro.js file instead of using jsp #1829

Open jbcostan opened 2 years ago

jbcostan commented 2 years ago

Describe the bug other libraries that I include works fine and even the metro4 css is fine, but the metro4.js creates the unable to compile.

My JSP File

** Error** > org.apache.jasper.JasperException: JBWEB004062: Unable to compile class for JSP: > > JBWEB004060: An error occurred at line: 24568 in the jsp file: /assets/js/libs/metro4/metro.js > String literal is not properly closed by a double-quote > 24565: var ListDefaultConfig = { > 24566: locale: METRO_LOCALE, > 24567: listDeferred: 0, > 24568: templateBeginToken: "<%", > 24569: templateEndToken: "%>", > 24570: paginationDistance: 5, > 24571: paginationShortMode: true, > > > Stacktrace: > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:95) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:455) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.Compiler.compile(Compiler.java:359) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:652) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) > at io.undertow.jsp@2.0.9.Final//org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347) **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [chrome] - Metro Version [e.g. 4.5.0]
xscode-auto-reply[bot] commented 2 years ago

Thanks for opening a new issue. The author has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

olton commented 2 years ago

This is a not library problem, check your definitions