-
1. Re: JBoss6 - MalformedParameterizedTypeException
alesj Aug 9, 2011 9:32 AM (in response to gottseth)1 of 1 people found this helpfulImo, you're hitting https://issues.jboss.org/browse/JBAS-8782.
Can you try the latest 6.1 snapshot (the link should be in some previous forum post)?
-
2. Re: JBoss6 - MalformedParameterizedTypeException
gottseth Aug 9, 2011 10:16 AM (in response to alesj)i tried adding
<install method="addIgnored">
<parameter>java.lang.reflect.MalformedParameterizedTypeException</parameter>
</install>
to the scanning-deployers-jboss-beans.xml file, now its showing some other erros
16:08:00,118 ERROR [[/timetracker]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: java.lang.LinkageError: loader constraint violation: when resolving method "org.springframework.util.xml.SimpleSaxErrorHandler.<init>(Lorg/apache/commons/logging/Log;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/springframework/beans/factory/xml/XmlBeanDefinitionReader, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class,org/springframework/util/xml/SimpleSaxErrorHandler, have different Class objects for the type org/apache/commons/logging/Log used in the signature
DEPLOYMENTS IN ERROR:
Deployment "jboss.web.deployment:war=/timetracker" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file
:/C:/Programm/JBoss/51/server/default/tmp/vfs/automount4ea348e7f3c4d1d2/timetracker-web-3.4-SNAPSHOT.war-a7dde3f91df33f23/ deployment failed
-
3. Re: JBoss6 - MalformedParameterizedTypeException
alesj Aug 9, 2011 10:25 AM (in response to gottseth)You have some Apache Logging conflict.
Remove this commons-logging.jar from your app and it should work.
-
4. Re: JBoss6 - MalformedParameterizedTypeException
gottseth Aug 10, 2011 8:38 AM (in response to alesj)the timetracker app doesnt contain a commons-logging.jar, only the maven repository has one but deleting the file had no impact on the error message
EDIT: I tried to edit the pom-files and setting the commons-logging parts as a comment, while doing this(and deleting the commons-logging direcotry) it shows an error even before the deployment happens.
Just deleting the directory doesnt help because maven just downloads it again...