Thanks Jörg and Daniel! I'm able to create project from archetype now.

However, when deploying webapp to either tomcat or jboss for the first time 
after importing it to Eclipse as a Maven project(Deployment is done through 
Eclipse), it gives errors:

[b][Deploy to Tomcat7+JDK1.7][/b]
[code]2013-11-26 12:15:01,472 INFO  info.magnolia.jackrabbit.ProviderImpl       
      : Registering nodetype {http://www.magnolia.info/jcr/mgnl}group on 
repository magnolia
2013-11-26 12:15:06,503 INFO  
fo.magnolia.objectfactory.ObservedComponentFactory: 
/server/rendering/freemarker does not exist, will return a new instance of 
class info.magnolia.freemarker.FreemarkerConfig.
2013-11-26 12:15:06,513 INFO  info.magnolia.context.LifeTimeJCRSessionUtil      
: Will handle lifetime sessions because the system context is of type interface 
info.magnolia.context.ThreadDependentSystemContext
2013-11-26 12:15:06,658 ERROR info.magnolia.cms.beans.config.ConfigLoader       
: An unspecified error occurred during initialization: 
org/apache/commons/codec/binary/Base64
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
        at 
info.magnolia.setup.initial.GenericTasks.genericTasksForNewInstallation(GenericTasks.java:79)


2013-11-26 12:15:06,692 ERROR info.magnolia.cms.filters.FilterManagerImpl       
: Error initializing filters
javax.servlet.ServletException: No filters configured at /server/filters
        at 
info.magnolia.cms.filters.FilterManagerImpl.createConfiguredFilters(FilterManagerImpl.java:194)
[/code]

[b][Deploy to JBossAS7.1.1+JDK1.7][/b]
[code]12:27:46,624 INFO  [org.jboss.as.server.deployment] (MSC service thread 
1-14) JBAS015876: Starting deployment of "magnolia-poc-webapp.war"
12:27:47,813 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-14) 
JBAS015852: Could not index class 
org/apache/commons/codec/binary/Base64OutputStream.class at 
/C:/Users/jboss-as-7.1.1.Final/standalone/deployments/magnolia-poc-webapp.war/WEB-INF/lib/commons-codec-1.4.jar:
 java.util.zip.ZipException: invalid LOC header (bad signature)
        at java.util.zip.ZipFile.read(Native Method) [rt.jar:1.7.0_45]


12:27:49,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) 
MSC00001: Failed to start service 
jboss.deployment.unit."magnolia-poc-webapp.war".STRUCTURE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."magnolia-poc-webapp.war".STRUCTURE: Failed to process 
phase STRUCTURE of deployment "magnolia-poc-webapp.war"
        at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
 [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

[/code]


Please advise. Thanks!

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=6da3c4a2-3d45-45ba-ad4a-47c25cd40e99


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to