#1 2023-09-28 17:05:04

johnshelby
Member
Registered: 2023-09-28

Errors scanning JAR files when running Report Server 4.6.1 on Eclipse.

Hello community,

I'm trying to build a Report Server version 4.6.1 on Eclipse for developing my application. Currently, I've added the required JAR libraries and source (src) to the project's build path without encountering any errors.

However, when I attempt to run the application with Jetty, I'm facing the "error scanning entry from jar" issue for several libraries. I suspect that Jetty might be trying to read classes for Java 9, leading to this error. Please help me find a solution.

	at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_zh.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_sk.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_sv.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_hu.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_ko.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLMessages.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_tr.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_de.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_es.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_cs.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_pt_BR.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_it.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_ja.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_ru.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_sl.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_zh_TW.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_ca.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xml/res/XMLErrorResources_fr.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
		Suppressed: java.lang.RuntimeException: Error scanning entry module-info.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
	Caused by: java.lang.RuntimeException: Error scanning entry org/docx4j/org/apache/xalan/res/XSLTErrorResources_zh_TW.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xalan-interpretive-11.0.0.jar
		at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
		... 6 more
	Caused by: java.lang.IllegalArgumentException
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
		at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
		at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
		... 6 more
	Suppressed: MultiException[java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/xmlbeans/impl/tool/MavenPluginResolver.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xmlbeans-5.1.1.jar, java.lang.RuntimeException: Error scanning entry META-INF/versions/9/module-info.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xmlbeans-5.1.1.jar]
		at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:899)
		at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:831)
		at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
		at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
		at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
		at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
		at java.lang.Thread.run(Thread.java:748)
		Suppressed: java.lang.RuntimeException: Error scanning entry META-INF/versions/9/module-info.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xmlbeans-5.1.1.jar
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
			... 6 more
		Caused by: java.lang.IllegalArgumentException
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.objectweb.asm.ClassReader.<init>(Unknown Source)
			at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
			at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
			... 6 more
	Caused by: java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/apache/xmlbeans/impl/tool/MavenPluginResolver.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/xmlbeans-5.1.1.jar
		at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
		... 6 more
	Caused by: java.lang.IllegalArgumentException
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.objectweb.asm.ClassReader.<init>(Unknown Source)
		at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
		at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
		at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
		... 6 more
Caused by: java.lang.RuntimeException: Error scanning entry META-INF/versions/9/module-info.class from jar file:/D:/Project/eclipse/reportserver-4.6.1/ReportServer/war/WEB-INF/lib/bcmail-jdk18on-1.74.jar
	at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
	at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:831)
	at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
	at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:973)
	at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
	at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)

Last edited by johnshelby (2023-09-28 17:10:57)

Offline

#2 2023-10-13 21:07:06

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Errors scanning JAR files when running Report Server 4.6.1 on Eclipse.

Hi johnshelby,

currently, as it is necessary to compile with java 8, some libraries have to be excluded.

You can include old versions of not compatible libraries for testing, and while compilation, replace these with the current versions.
Also, pls also note that we don't use jetty for development, but super dev mode together with tomcat.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB