Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mariano Macaya Marquez
com.liferay.taglib.aui.LegendTag in 6.1
August 28, 2012 6:51 AM
Answer

Mariano Macaya Marquez

Rank: New Member

Posts: 4

Join Date: August 28, 2012

Recent Posts

Hello, I'm new to Liferay and trying to deploy a portlet I made on a 6.1 Liferay Server.
If I deploy it in a 6.0 Liferay Server it works fine, but in 6.1 I get this error:


06:30:43,276 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.unit."MyPortlet.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyPortlet.war".INSTALL: Failed to process phase INSTALL of deployment "MyPortlet.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_17]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_17]
Caused by: java.lang.RuntimeException: Failed to load class com.liferay.taglib.aui.LegendTag
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: com.liferay.taglib.aui.LegendTag from [Module "deployment.MyPortlet.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) [:1.6.0_17]
at java.lang.Class.forName0(Native Method) [:1.6.0_17]
at java.lang.Class.forName(Class.java:264) [:1.6.0_17]
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
... 11 more

The util-taglib.jar that is in ROOT.war of the 6.0 Server has a class named LegendTag. The one in the 6.1 server does not.
How can I avoid having this issues?

Thanks a lot.
Mariano Macaya Marquez
RE: com.liferay.taglib.aui.LegendTag in 6.1
August 29, 2012 4:59 AM
Answer

Mariano Macaya Marquez

Rank: New Member

Posts: 4

Join Date: August 28, 2012

Recent Posts

Anyone?
Mariano Macaya Marquez
RE: com.liferay.taglib.aui.LegendTag in 6.1
August 29, 2012 5:25 AM
Answer

Mariano Macaya Marquez

Rank: New Member

Posts: 4

Join Date: August 28, 2012

Recent Posts

The .failed file shows as follows:

"Failed services" => {"jboss.deployment.unit.\"MyPortlet.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyPortlet.war\".INSTALL: Failed to process phase INSTALL of deployment \"MyPortlet.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.MyPortlet.MyPortlet.Validator missing [ jboss.naming.context.java.module.MyPortlet.MyPortlet ]","jboss.naming.context.java.module.MyPortlet.MyPortlet.ValidatorFactory missing [ jboss.naming.context.java.module.MyPortlet.MyPortlet ]"]}
Bryan Venteicher
RE: com.liferay.taglib.aui.LegendTag in 6.1
October 31, 2012 9:53 AM
Answer

Bryan Venteicher

Rank: New Member

Posts: 6

Join Date: October 12, 2012

Recent Posts

I'm having this same problem attempting to upgrade from 6.0 to 6.1

Any ideas?

1Oct 31, 2012 4:51:56 PM org.apache.catalina.core.ApplicationDispatcher invoke
2SEVERE: Servlet.service() for servlet jsp threw exception
3java.lang.NoClassDefFoundError: com/liferay/taglib/aui/LegendTag