Hi,

With which version of Java are you running your Tomcat?
Please note that Artifactory 3.x requires JDK 1.7 (preferably JDK 1.7
update 21 and above).

Shay.


On Wed, Aug 28, 2013 at 10:19 PM, luser [via Artifactory] <
[email protected]> wrote:

> I downloaded the latest version of Artifactory and put the artifactory.war
> file in my tomcat webapps directory and restarted tomcat. I get the
> following error in the logs. what is the solution to fix this?
>
> Thanks!
>
>
> INFO: Deploying web application archive
> /var/lib/tomcat7/webapps/artifactory.war
> Aug 28, 2013 3:08:11 PM
> org.apache.catalina.startup.SetContextPropertiesRule begin
> WARNING: [SetContextPropertiesRule]{Context} Setting property
> 'disableURLRewriting' to 'true' did not find a matching property.
> Aug 28, 2013 3:08:12 PM org.apache.catalina.core.ContainerBase
> addChildInternal
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]
>
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
>
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
>         at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.UnsupportedClassVersionError:
> org/artifactory/webapp/servlet/ArtifactoryHomeConfigListener : Unsupported
> major.minor version 51.0 (unable to load class
> org.artifactory.webapp.servlet.ArtifactoryHomeConfigListener)
>         at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2840)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1160)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1668)
>
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
>
>         at
> org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:144)
>
>         at
> org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
>
>         at
> org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
>
>         at
> org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:381)
>
>         at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:858)
>
>         at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)
>
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
>
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         ... 11 more
> Aug 28, 2013 3:08:12 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive
> /var/lib/tomcat7/webapps/artifactory.war
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://forums.jfrog.org/Unsupported-major-minor-version-51-0-tp7579030.html
>  To start a new topic under Artifactory - Users, email
> [email protected]
> To unsubscribe from Artifactory, click 
> here<http://forums.jfrog.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2380776&code=c2hheWJAamZyb2cuY29tfDIzODA3NzZ8MTU0NDg2MTQ3OA==>
> .
> NAML<http://forums.jfrog.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://forums.jfrog.org/Unsupported-major-minor-version-51-0-tp7579030p7579033.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to