Deploying on wildfly-9.0.2.Final MalformedParameterizedTypeException

Post Reply
westley
Posts: 2
Joined: 08 Jul 2016, 11:20

11 May 2020, 19:50

Hi Team

I just bought the Babylon theme, after building the tag babylon-3.2.0.war with maven , and deploying , i get the following error :

12:08:45,564 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."babylon-3.2.0.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."babylon-3.2.0.war".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.MalformedParameterizedTypeException
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(ParameterizedTypeImpl.java:58)
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.<init>(ParameterizedTypeImpl.java:51)
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(ParameterizedTypeImpl.java:92)
at sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(CoreReflectionFactory.java:105)
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:140)
at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
at sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(ClassRepository.java:108)
at java.lang.Class.getGenericInterfaces(Class.java:913)
at org.jboss.weld.util.reflection.HierarchyDiscovery.discoverInterfaces(HierarchyDiscovery.java:143)
at org.jboss.weld.util.reflection.HierarchyDiscovery.discoverFromClass(HierarchyDiscovery.java:139)
at org.jboss.weld.util.reflection.HierarchyDiscovery.discoverTypes(HierarchyDiscovery.java:111)
at org.jboss.weld.util.reflection.HierarchyDiscovery.<init>(HierarchyDiscovery.java:93)
at org.jboss.weld.util.reflection.HierarchyDiscovery.<init>(HierarchyDiscovery.java:86)
at org.jboss.weld.annotated.enhanced.TypeClosureLazyValueHolder.computeValue(TypeClosureLazyValueHolder.java:43)
at org.jboss.weld.annotated.enhanced.TypeClosureLazyValueHolder.computeValue(TypeClosureLazyValueHolder.java:33)
at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35)
at org.jboss.weld.annotated.slim.backed.BackedAnnotated.getTypeClosure(BackedAnnotated.java:27)
at org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotated.getTypeClosure(AbstractEnhancedAnnotated.java:200)
at org.jboss.weld.util.Beans.getTypes(Beans.java:454)
at org.jboss.weld.bean.attributes.BeanAttributesFactory$BeanAttributesBuilder.<init>(BeanAttributesFactory.java:109)
at org.jboss.weld.bean.attributes.BeanAttributesFactory$BeanAttributesBuilder.<init>(BeanAttributesFactory.java:91)
at org.jboss.weld.bean.attributes.BeanAttributesFactory.forBean(BeanAttributesFactory.java:68)
at org.jboss.weld.bootstrap.AbstractBeanDeployer.createManagedBean(AbstractBeanDeployer.java:263)
at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:228)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:78)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:75)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 more


dependency:tree

[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< org.primefaces:babylon >-----------------------
[INFO] Building babylon 3.2.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ babylon ---
[INFO] org.primefaces:babylon:war:3.2.0
[INFO] +- org.primefaces:primefaces:jar:8.0:compile
[INFO] +- org.glassfish:jakarta.faces:jar:2.3.13:compile
[INFO] +- javax.el:javax.el-api:jar:3.0.0:provided
[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:provided
[INFO] +- org.hibernate:hibernate-validator:jar:5.0.1.Final:compile
[INFO] | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.1.1.GA:compile
[INFO] | \- com.fasterxml:classmate:jar:0.8.0:compile
[INFO] +- org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
[INFO] +- org.apache.geronimo.specs:geronimo-jcdi_2.0_spec:jar:1.1:compile
[INFO] +- org.apache.geronimo.specs:geronimo-interceptor_1.2_spec:jar:1.0:compile
[INFO] +- org.apache.geronimo.specs:geronimo-annotation_1.3_spec:jar:1.0:compile
[INFO] +- org.apache.openwebbeans:openwebbeans-impl:jar:2.0.12:compile
[INFO] | +- org.apache.xbean:xbean-finder-shaded:jar:4.13:compile
[INFO] | +- org.apache.xbean:xbean-asm7-shaded:jar:4.13:compile
[INFO] | \- org.apache.openwebbeans:openwebbeans-spi:jar:2.0.12:compile
[INFO] +- org.apache.openwebbeans:openwebbeans-web:jar:2.0.12:compile
[INFO] | \- org.apache.openwebbeans:openwebbeans-el22:jar:2.0.12:compile
[INFO] \- org.apache.openwebbeans:openwebbeans-jsf:jar:2.0.12:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.263 s
[INFO] Finished at: 2020-05-11T13:46:55-04:00


Files in the WEB-INF\lib :

WEB-INF\lib\classmate-0.8.0.jar
WEB-INF\lib\geronimo-annotation_1.3_spec-1.0.jar
WEB-INF\lib\geronimo-atinject_1.0_spec-1.0.jar
WEB-INF\lib\geronimo-interceptor_1.2_spec-1.0.jar
WEB-INF\lib\geronimo-jcdi_2.0_spec-1.1.jar
WEB-INF\lib\hibernate-validator-5.0.1.Final.jar
WEB-INF\lib\jakarta.faces-2.3.13.jar
WEB-INF\lib\jboss-logging-3.1.1.GA.jar
WEB-INF\lib\openwebbeans-el22-2.0.12.jar
WEB-INF\lib\openwebbeans-impl-2.0.12.jar
WEB-INF\lib\openwebbeans-jsf-2.0.12.jar
WEB-INF\lib\openwebbeans-spi-2.0.12.jar
WEB-INF\lib\openwebbeans-web-2.0.12.jar
WEB-INF\lib\primefaces-8.0.jar
WEB-INF\lib\validation-api-1.1.0.Final.jar
WEB-INF\lib\xbean-asm7-shaded-4.13.jar
WEB-INF\lib\xbean-finder-shaded-4.13.jar


Can you please help ?

Thanks

Westley

aragorn
Posts: 3996
Joined: 29 Jun 2013, 12:38

29 May 2020, 23:19

Do you try to run the tag folder instead of .war file?

Also see;
viewtopic.php?f=106&t=61197
viewtopic.php?t=41278&p=130047
viewtopic.php?f=23&t=41516

Regards,

westley
Posts: 2
Joined: 08 Jul 2016, 11:20

30 May 2020, 02:48

I ran the tag itself.

Issue was resolved after removing the listener :

<listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class> from the web.xml

Thanks

aragorn
Posts: 3996
Joined: 29 Jun 2013, 12:38

03 Jun 2020, 10:06

Thanks a lot for the update! Other users will be grateful to you for this attached solution. ;)

Best Regards,

Post Reply

Return to “Babylon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest