score:0
adding just language="groovy" in the jrxml worked for me.
<jasperreport
xmlns="http://jasperreports.sourceforge.net/jasperreports"
xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"
xsi:schemalocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"
name="jasper_report_template" **language="groovy"**
pagewidth="100" pageheight="100" columnwidth="10"
leftmargin="20" rightmargin="20" topmargin="20" bottommargin="20"
>
score:0
as all said just upgrade jetty server
if you are using maven
go to jetty plugin and update it to
<plugin>
<groupid>org.eclipse.jetty</groupid>
<artifactid>jetty-maven-plugin</artifactid>
<version>9.3.0.v20150612</version>
<configuration>
<scanintervalseconds>3</scanintervalseconds>
<httpconnector>
<port>${jetty.port}</port>
<idletimeout>60000</idletimeout>
</httpconnector>
<stopkey>foo</stopkey>
<stopport>${jetty.stop.port}</stopport>
</configuration>
</plugin>
score:1
jetty 7 (and lower) probably does not support java 8. in java 8 some changes to classes were made, causing the jsp compilation failure.
related question (same exception): unable to compile class for jsp: the type java.util.map$entry cannot be resolved. it is indirectly referenced from required .class files
related problem in manifoldcf (same exception): https://issues.apache.org/jira/browse/connectors-938
at least jetty 9.2 supports java 8: https://webtide.com/jetty-9-2-0-released/ http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html
Source: stackoverflow.com
Related Query
- Receiving The type java.lang.CharSequence cannot be resolved. error message with Java 8 JDK
- The type java.lang.Enum cannot be resolved - Getting error after importing Java project in Eclipse
- Getting error message with spring "cvc-elt.1: Cannot find the declaration of element 'beans'."
- Java eclipse error - Multiple Markers at this line - URL & SAXException cannot be resolved to a type
- The import com.fasterxml.jackson cannot be resolved error on trying to setup a legacy Java Spring boot application
- When i updated Jdk 1.6 to Jdk 1.8, I get the following error : The type java.lang.CharSequence cannot be resolved
- Importing java file to jsp - cannot be resolved to a type error
- How to fix "The type List is not generic; it cannot be parameterized with arguments <String>" error in cucumber selenium JAVA
- The type java.time.Duration cannot be resolved when using OkHttpClient v3.12.x on Java 7
- Radnom cannot be resolved to a type - Typo error in Java itself
- Why does the following code return the error message The type Person is already defined. What is the issue with the Class Person?
- UserId cannot be resolved to a type error java
- The type javax.ServletException cannot be resolved with Worklight
- Java android eclipse the type okio.BufferedSource cannot be resolved
- The type java.lang.charSequence cannot be resolved to a type error
- Java project in Eclipse: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- Eclipse error ... cannot be resolved to a type
- The type java.lang.CharSequence cannot be resolved in package declaration
- Eclipse message saying List cannot be resolved to a type
- The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
- Error in Eclipse (for Android): The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- problem with jpa project in eclipse - error in class annotated @entity: table "yyy" cannot be resolved
- The type org.springframework.context.ConfigurableApplicationContext cannot be resolved
- Getting message "The type org.aopalliance.aop.Advice cannot be resolved." in spring java program
- Eclipse the import cannot be resolved after Java update
- The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
- The package collides with a type in java code
- Cannot instantiate the type with regular Class
- The type Set is not generic; it cannot be parameterized with arguments <Integer>
- eclipse error with android: id cannot be resolved or is not a field
More Query from same tag
- Where is "Product Configuration" for Eclipse Mars to config plugin locations?
- Link to folders vs Link and create virtual folder in Eclipse IDE
- how could I change osmdroid-android-4.1 to osmdroid-android-4.2 in existing android app
- getting old JRE version error in eclipse even when the new version is already installed
- How to remove directories from final build zip archive using maven 3
- Shortcut for Incremental SELECTION in eclipse (NOT incremental SEARCH)
- I am trying to run the below mentioned code but getting an error
- Cant seem to connect the JDBC sql server driver to java eclipse project
- App works in Emulator, but not on a real device
- cannot complete the install because one or more required items could not be found. eclipse indigo
- Setting universal Environment variables for Maven in Eclipse on Mac
- Error in Android/Eclipse code
- Create a .app with python in eclipse?
- Managing dependencies of a Eclipse plug-in project using Maven
- Android NDK sample build error linux
- org.eclipse.ui.popupMenus link is grayed out
- how to install breakpoints at every function in eclipse?
- App unable to start activity componentinfo(Android)
- Eclipse Pydev: Run selected lines of code
- Multiple sources found for csv : readStream
- Checkstyle rule to avoid not condition
- How to do an "ours" merge using the Eclipse git merge tool?
- Importing Java Classes Versus the Direct Path
- How can i heal... cvc-elt.1: Cannot find the declaration of element 'jaxb:bindings'
- Change appengine console red color in eclipse
- Issues while lauching emulator
- How can I generate Javadoc comments in Eclipse?
- How to install a JDBC driver in BIRT Reporting for Eclipse
- System of help for Android Studio?
- Start coding from the debugging point Eclipse