7 Replies Latest reply on Feb 19, 2016 3:57 AM by Aaron John Asuncion

    DeploymentException: Malformed class name

    Aaron John Asuncion Newbie

      Hello can anybody help me? I cannot seem to run my Java SE(java 8) w/ CDI Weld enabled on an uber jar. I used maven-shade to create the uber jar. Here is the stacktrace that I always get:

       

      Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: Malformed class name

              at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:66)

              at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43)

              at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51)

              at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.createClassBeans(ConcurrentBeanDeployer.java:75)

              at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:256)

              at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:397)

              at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)

              at org.jboss.weld.environment.se.Weld.initialize(Weld.java:557)

              at org.apache.deltaspike.cdise.weld.WeldContainerControl.boot(WeldContainerControl.java:68)

              at com.objective.ecm.service.base.server.cli.ServiceStarter.start(ServiceStarter.java:44)

              at com.objective.ecm.asyncjob.copyservice.App.main(App.java:34)

      Caused by: java.lang.InternalError: Malformed class name

              at java.lang.Class.getSimpleName(Unknown Source)

              at java.lang.Class.isAnonymousClass(Unknown Source)

              at org.jboss.weld.util.reflection.Reflections.isStaticNestedClass(Reflections.java:411)

              at org.jboss.weld.util.reflection.Reflections.isTopLevelOrStaticNestedClass(Reflections.java:425)

              at org.jboss.weld.util.Beans.isTypeManagedBeanOrDecoratorOrInterceptor(Beans.java:521)

              at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:213)

              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:63)

              at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)

              at java.util.concurrent.FutureTask.run(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

              at java.lang.Thread.run(Unknown Source)