[
https://issues.redhat.com/browse/WFLY-14302?page=com.atlassian.jira.plugi...
]
Josep Jiménez commented on WFLY-14302:
--------------------------------------
Hi Richard,
This issue is about the environment. I have checked demo project on Linux Centos 8 an JDK
11 open source and it's running correctly.
When we have tried to run app, the compiling source was 59.0 and the execution environment
was 57.0. The error was "NoClassDefFoundError", but problem was version
actually.
Thanks
WARN java.lang.NoClassDefFoundError: Failed to link
javax/servlet/jsp/tagext/TagSupport
---------------------------------------------------------------------------------------
Key: WFLY-14302
URL:
https://issues.redhat.com/browse/WFLY-14302
Project: WildFly
Issue Type: Bug
Components: Class Loading
Affects Versions: 22.0.0.Final
Reporter: Josep Jiménez
Assignee: Richard Opalka
Priority: Major
Attachments: demo.zip, page1.png, page2.png, screeenshot-2.png, screenshot-1.png,
server.log
Over V16 and V21 the same project run correctly.
The project uses javax.servlet.jsp.tagext.TagSupport
During the deploiment shows this WARN the same times number of TagLib are defined on two
tld's files of project.
11:52:58,637 WARN [org.jboss.modules.define] (MSC service thread 1-8) Failed to define
class webui.tags.framework.BPlanSelector in Module
"deployment.Awebpfcw2-1.0.war" from Service Module Loader:
java.lang.NoClassDefFoundError: Failed to link webui/tags/framework/BPlanSelector (Module
"deployment.Awebpfcw2-1.0.war" from Service Module Loader):
javax/servlet/jsp/tagext/TagSupport11:52:58,637 WARN [org.jboss.modules.define] (MSC
service thread 1-8) Failed to define class webui.tags.framework.BPlanSelector in Module
"deployment.Awebpfcw2-1.0.war" from Service Module Loader:
java.lang.NoClassDefFoundError: Failed to link webui/tags/framework/BPlanSelector (Module
"deployment.Awebpfcw2-1.0.war" from Service Module Loader):
javax/servlet/jsp/tagext/TagSupport at java.base/java.lang.ClassLoader.defineClass1(Native
Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1095) at
org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:424) at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:555) at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339) at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126) at
org.jboss.modules.Module.loadModuleClass(Module.java:753) at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) at
java.base/java.lang.Class.forName0(Native Method) at
java.base/java.lang.Class.forName(Class.java:468) at
org.jboss.as.ee@22.0.0.Final//org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:21)
at
org.jboss.as.ee@22.0.0.Final//org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:14)
at
org.jboss.as.ee@22.0.0.Final//org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:84)
at
org.jboss.as.ee@22.0.0.Final//org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
at
org.jboss.as.server@14.0.0.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
at
org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at
org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at
org.jboss.msc@1.4.12.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at
org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:832)
--
This message was sent by Atlassian Jira
(v8.13.1#813001)