gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuetong Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEARPUMP-347) ClassNotFoundException when running services in Intellij
Date Tue, 29 Aug 2017 02:55:00 GMT

    [ https://issues.apache.org/jira/browse/GEARPUMP-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144677#comment-16144677
] 

Xuetong Zhu commented on GEARPUMP-347:
--------------------------------------

When I run services class,an exception occurs:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
	at org.apache.gearpump.util.LogUtil$.loadConfiguration(LogUtil.scala:80)
	at org.apache.gearpump.services.main.Services$.main(Services.scala:75)
	at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
	at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
	at scala.util.Try$.apply(Try.scala:192)
	at org.apache.gearpump.util.AkkaApp$class.main(AkkaApp.scala:41)
	at org.apache.gearpump.services.main.Services$.main(Services.scala:41)
	at org.apache.gearpump.services.main.Services.main(Services.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.PropertyConfigurator
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 8 more

> ClassNotFoundException when running services  in Intellij
> ---------------------------------------------------------
>
>                 Key: GEARPUMP-347
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-347
>             Project: Apache Gearpump
>          Issue Type: Bug
>          Components: services
>            Reporter: Xuetong Zhu
>
> This is because mostly dependencies are marked as "provided"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message