[
https://issues.apache.org/jira/browse/KARAF-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328738#comment-14328738
]
Guillaume Nodet commented on KARAF-3543:
----------------------------------------
The problem comes from the default value of the {{ignoreDependencyFlag}} of the
maven plugin which has been set to {{true}} but should be {{false}}.
> ClassNotFoundException when running shell.sh
> --------------------------------------------
>
> Key: KARAF-3543
> URL: https://issues.apache.org/jira/browse/KARAF-3543
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.0.0.M2
> Reporter: Fabian Lange
>
> Please correct component if I have guessed it wrong.
> If I run karaf with "./start" and then try to log into it using "./shell" the
> following error pops up
> {code}
> Exception in thread "main" java.lang.ClassNotFoundException:
> org.jledit.ConcreteEditorFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at
> org.apache.karaf.shell.impl.console.standalone.Main.discoverCommands(Main.java:209)
> at
> org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:148)
> at
> org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:136)
> at org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:76)
> at
> org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:59)
> {code}
> this is reproducable with a Karaf M2 standalone build. (in case it matters, I
> am on osx)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)