[teiid-issues] [JBoss JIRA] (TEIID-2649) NoClassDefFoundError when trying to run adminshell

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Sep 5 09:58:03 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801936#comment-12801936 ] 

Steven Hawkins commented on TEIID-2649:
---------------------------------------

The assembly explicitly sets the .sh permissions and they are executable on my system.  What platform are you using?

I also don't get that exception.  Are you running with a vm that does not support the wildcard classpath?

                
> NoClassDefFoundError when trying to run adminshell
> --------------------------------------------------
>
>                 Key: TEIID-2649
>                 URL: https://issues.jboss.org/browse/TEIID-2649
>             Project: Teiid
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 8.4.1
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>            Priority: Blocker
>
> adminshell is throwing the following exception when trying to be run:
> Exception in thread "main" java.lang.NoClassDefFoundError: jline/History
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
>         at java.lang.Class.getDeclaredMethods(Class.java:1845)
>         at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:83)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:80)
>         at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:78)
>         at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
>         at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
>         at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:249)
>         at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:341)
>         at groovy.lang.MetaClassImpl.fillMethodIndeMetaClassImpl.java:291)
>         at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2912)
>         at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166)
>         at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182)
>         at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:210)
>         at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:701)
>         at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:69)
>         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:192)
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:200)
>         at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:124)
>         at org.teiid.adminshell.GroovyAdminShell.main(GroovyAdminShell.java:30)
> Caused by: java.lang.ClassNotFoundException: jline.History
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 23 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list