cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1365) Too much error message for missing class in java2 tools
Date Tue, 08 Jan 2008 14:52:34 GMT
Too much error message for missing class in java2 tools
-------------------------------------------------------

                 Key: CXF-1365
                 URL: https://issues.apache.org/jira/browse/CXF-1365
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.1
            Reporter: Benson Margulies


i respectfully submit that this is Too Much Information. When the java2 process gets a class
not found, it should 
result in a simple error message and no backtrace.


bim-1330% $CXF_HOME/bin/java2js  -cp ~/x/tip/crosslang/source/ws/demo1/bin:/home/benson/x/tip/rlp/lib_g/ia32-glibc25-gcc42/btutil.jar/home/benson/x/tip/rlp/lib_g/ia32-glibc25-gcc42/btrlpnc.jar
com.basistech.searchtools.demo1.CrossLangDemo1
Exception in thread "main" java.lang.NoClassDefFoundError: Lcom/basistech/util/LanguageCode;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
        at java.lang.Class.getDeclaredFields(Class.java:1715)
        at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:190)
        at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:165)
        at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:129)
        at org.apache.cxf.jaxb.JAXBContextInitializer.begin(JAXBContextInitializer.java:89)
        at org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:85)
        at org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.ja

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message