cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <>
Subject [jira] Commented: (CXF-1365) Too much error message for missing class in java2 tools
Date Wed, 09 Jan 2008 01:30:33 GMT


Glen Mazza commented on CXF-1365:

This is JDK-specific, no?  Shouldn't you be sending this to the Sun JDK JIRA (assuming there
is one)?  At any rate, the stack trace is what one gets with most (all?) other Java apps when
a  NCDFE or similar runtime exception occurs.

> Too much error message for missing class in java2 tools
> -------------------------------------------------------
>                 Key: CXF-1365
>                 URL:
>             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
> Exception in thread "main" java.lang.NoClassDefFoundError: Lcom/basistech/util/LanguageCode;
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(
>         at java.lang.Class.getDeclaredFields(
>         at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(
>         at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(
>         at org.apache.cxf.jaxb.JAXBContextInitializer.addType(
>         at org.apache.cxf.jaxb.JAXBContextInitializer.begin(
>         at org.apache.cxf.service.ServiceModelVisitor.visitOperation(
>         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.

View raw message