An XJC compilation error - Could not load class (..) for type cvsversion

I've got a strange compilation error using NetBeans 4.0 (I'd guess the version does not matter here) and Ant 1.6.2. When the following task is executed,
<target name="compile_ofx_schema">
<antcall target="clean-ofx"/>
<delete dir="${ofx-jaxb-src.dir}"/>
<mkdir dir="${ofx-jaxb-src.dir}" />
<xjc schema="${schema.dir}/ofx102.xsd" package="com.xxx.ofx102" target="${ofx-jaxb-src.dir}">
<arg value="-nv" />
<arg value="-extension" />
</xjc>
</target>
I get the error from NetBeans console,
Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
D:\appserver\build.xml:797: unable to parse the schema. Error messages should have been provided
at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD FAILED (total time: 4 seconds)
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
And when I run the Ant task from the command line, I don't get the error at all.
Any help is greatly appreciated.

That was a great finding from you. Thank you.
I followed your alternative approach and updated the ant.jar file. The "Could not load class..." error went away but the stack trace still remains. Now I am clueless again since I have ant on the debug mode and can't find any more useful info.
Class com.sun.tools.xjc.reader.internalizer.LocatorTable loaded from ant loader (parentFirst)
Class java.util.HashSet loaded from parent loader (parentFirst)
Class javax.xml.parsers.DocumentBuilderFactory loaded from parent loader (parentFirst)
Couldn't load Resource org/netbeans/core/xml/DOMFactoryImpl.class
Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.DocumentBuilderFactory
Class org.apache.crimson.jaxp.DocumentBuilderFactoryImpl loaded from parent loader (parentFirst)
Class javax.xml.parsers.SAXParserFactory loaded from parent loader (parentFirst)
Couldn't load Resource org/netbeans/core/xml/SAXFactoryImpl.class
Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.SAXParserFactory
Class org.apache.crimson.jaxp.SAXParserFactoryImpl loaded from parent loader (parentFirst)
Class javax.xml.parsers.DocumentBuilder loaded from parent loader (parentFirst)
Class java.util.Map loaded from parent loader (parentFirst)
Class javax.xml.parsers.SAXParser loaded from parent loader (parentFirst)
Finding class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/xmlschema/parser/XMLSchemaInternalizationLogic$ReferenceFinder.class
Finding class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/AbstractReferenceFinderImpl.class
Class org.xml.sax.helpers.XMLFilterImpl loaded from parent loader (parentFirst)
Class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl loaded from ant loader (parentFirst)
Class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder loaded from ant loader (parentFirst)
Class org.xml.sax.XMLFilter loaded from parent loader (parentFirst)
Finding class com.sun.tools.xjc.reader.internalizer.VersionChecker
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/VersionChecker.class
Class com.sun.tools.xjc.reader.internalizer.VersionChecker loaded from ant loader (parentFirst)
Finding class com.sun.tools.xjc.reader.internalizer.DOMBuilder
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/DOMBuilder.class
Finding class com.sun.xml.bind.marshaller.SAX2DOMEx
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-impl.jar com/sun/xml/bind/marshaller/SAX2DOMEx.class
Class org.xml.sax.ContentHandler loaded from parent loader (parentFirst)
Class com.sun.xml.bind.marshaller.SAX2DOMEx loaded from ant loader (parentFirst)
Class com.sun.tools.xjc.reader.internalizer.DOMBuilder loaded from ant loader (parentFirst)
Class java.util.Stack loaded from parent loader (parentFirst)
Class org.w3c.dom.Document loaded from parent loader (parentFirst)
Class org.xml.sax.XMLReader loaded from parent loader (parentFirst)
Class org.w3c.dom.Node loaded from parent loader (parentFirst)
Class org.w3c.dom.Element loaded from parent loader (parentFirst)
Class javax.xml.parsers.ParserConfigurationException loaded from parent loader (parentFirst)
Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
D:\bbw\build\Common_3.6\Packaged\appserver\build.xml:799: unable to parse the schema. Error messages should have been provided
at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD FAILED (total time: 1 second)
Any suggestions? BTW, I did not upgrade NetBeans to v5.5 due that my code is still JDK1.4 based.

Similar Messages

  • What does the error "Could not load class!" mean?

    I've just loaded Lookout 6.1 on a new computer and have tried to load a process file onto it.  I'm getting the error messages: "Could not load class!" and "Error running process file!" I can take the same process file and load it onto a different computer with no problems.  What should I look for?

    The direct logic driver WILL NOT work with Windows 7, and Automation Direct says they are not upgrading the driver to work with windows 7 .
    We are in the process of moving to NIOPC Servers for our DirectLogic PLCs. So far, the move has been going well.
    Jason Phillips

  • Deserializer error : could not find deserializer for type

    Hi folks,
    I am trying to send a XML file in web service request and trying to get the same back, I am getting the following exception while trying to do this,
    org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:localhost
    org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.sel.services.EchoRequest.main(EchoRequest.java:42)
    The following is my client code,
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ParameterMode;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
    import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
    public class EchoRequest {
          * @param args
         public static void main(String[] args) {
              try {
                        String endpoint = "http://localhost:8080/axis/Echo.jws";
                        Service  service = new Service();
                      Call     call    = (Call) service.createCall();
                      call.setTargetEndpointAddress( new java.net.URL(endpoint) );
                      call.setOperationName(new QName(("Echo"),"DataHandler"));
                      QName qName = new QName("Echo" , "echo");
                      DataHandler dhSource = new DataHandler(new FileDataSource("D:/Workspace/Sandbox/Request.xml"));
                      call.registerTypeMapping(dhSource.getClass(),qName,JAFDataHandlerSerializerFactory.class,JAFDataHandlerDeserializerFactory.class );
                      call.addParameter("echo", qName , ParameterMode.IN);
                      call.setProperty(call.ATTACHMENT_ENCAPSULATION_FORMAT, call.ATTACHMENT_ENCAPSULATION_FORMAT_MIME);
                      call.setReturnType(qName);                 
                      Object ret = call.invoke(new Object[] {dhSource});
                        System.out.println();
                    } catch (Exception e) {
                      System.err.println(e.toString());
                      e.printStackTrace();
         }The following is my jws,
    import java.io.Serializable;
    import javax.activation.DataHandler;
    public class Echo implements Serializable{
         public DataHandler echo(DataHandler echo){
              return echo;
    }The following is my deploy.wsdd,
    <deployment     xmlns="http://xml.apache.org/axis/wsdd/"
                           xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
                           xmlns:ns1="Echo">
         <service name="Echo" provider="java:RPC">
                 <parameter name="className" value="Echo"/>
              <parameter name="allowedMethods" value="echo"/>
              <operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler">
                     <parameter name="echo" type="ns1:DataHandler"/>
             </operation>
              <typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
                   languageSpecificType="java:javax.activation.DataHandler" qname="ns1:DataHandler"
                      serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
                  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
           </service>
    </deployment>And following is my server-config.wsdd,
    <?xml version="1.0" encoding="UTF-8"?>
    <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <globalConfiguration>
      <parameter name="sendMultiRefs" value="true"/>
      <parameter name="disablePrettyXML" value="true"/>
      <parameter name="adminPassword" value="admin"/>
      <parameter name="attachments.Directory" value="D:\ApacheTomcat5.5.26\webapps\axis\WEB-INF\attachments"/>
      <parameter name="dotNetSoapEncFix" value="true"/>
      <parameter name="enableNamespacePrefixOptimization" value="false"/>
      <parameter name="sendXMLDeclaration" value="true"/>
      <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
      <parameter name="sendXsiTypes" value="true"/>
      <requestFlow>
       <handler type="java:org.apache.axis.handlers.JWSHandler">
        <parameter name="scope" value="session"/>
       </handler>
       <handler type="java:org.apache.axis.handlers.JWSHandler">
        <parameter name="scope" value="request"/>
        <parameter name="extension" value=".jwr"/>
       </handler>
      </requestFlow>
    </globalConfiguration>
    <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
    <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
    <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
    <service name="AdminService" provider="java:MSG">
      <parameter name="allowedMethods" value="AdminService"/>
      <parameter name="enableRemoteAdmin" value="false"/>
      <parameter name="className" value="org.apache.axis.utils.Admin"/>
      <namespace>http://xml.apache.org/axis/wsdd/</namespace>
    </service>
    <service name="Version" provider="java:RPC">
      <parameter name="allowedMethods" value="getVersion"/>
      <parameter name="className" value="org.apache.axis.Version"/>
    </service>
    <service name="Echo" provider="java:RPC">
      <operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler" soapAction="" xmlns:ns1="Echo">
       <parameter name="echo" type="ns1:DataHandler"/>
      </operation>
      <parameter name="allowedMethods" value="echo"/>
      <parameter name="className" value="Echo"/>
      <typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns2:DataHandler" serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" type="java:javax.activation.DataHandler" xmlns:ns2="Echo"/>
    </service>
    <transport name="http">
      <requestFlow>
       <handler type="URLMapper"/>
       <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
      </requestFlow>
      <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
      <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
      <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
      <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
      <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
      <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
    </transport>
    <transport name="local">
      <responseFlow>
       <handler type="LocalResponder"/>
      </responseFlow>
    </transport>
    </deployment>The following is the directory structure which I have in my tomcat for this service
    - axis
    -----WEB-INF
    ----------classes
    ----------jwsClasses
    ----------lib
    ----------deploy.wsdd
    ----------server-config.wsdd
    I am really not sure where I am getting wrong. Please help me with this.
    Thanks
    Edited by: Jadaaih on Jun 19, 2008 1:52 AM

    Ok, this may not be your problem, but I was getting this error as well.
    I had multiple services running, and I was able to use SOAP test clients and connect to them and get responses, no problem.
    I wrote some client code to connect to one, and it worked just fine.
    Then I wrote some client code to connect to the other, and I got an error like
    faultString: org.xml.sax.SAXException: Deserializing parameter 'initiateIn':  could not find deserializer for type {urn:SOAPFulfillmentAPI}DoSomething
    ...I tore my hair out trying to figure out why a service that functions perfectly using other tests would fail in java. Then I realized I was pointing to the end point URL.
    It looks like AJAX tries to deserialize the parameters before it does any of basic sanity check to see the method your looking for even exists (even in debug mode). So instead of getting a useful error like "Cant find method 'DoSomething' " you get some crap about not being able to understand the datatype for an arguement.
    I hope this helps someone one day =)

  • Server could not load class

    Hi Everyone,
    I am trying to add a task to an adapter in design console.
    When i select a jar from API source drop down list it pops up an error "Server could not load class".Anyone have any guesses what might be wrong here.
    Thanks,
    Satbir.

    Ya i copied the external jar files to the ext folder .But still having the same problem.
    I think there is some problem with the jar that i copied to javatasks folder.This is the error i am getting in server console is
    16:21:49,651 ERROR [LogInterceptor] Unexpected Error in method: public abstract
    boolean com.thortech.xl.ejb.interfaces.tcADP.introspectAPI(java.lang.String,java
    .lang.String,java.lang.String,boolean) throws java.rmi.RemoteException
    java.lang.NoClassDefFoundError: org/apache/axis/encoding/Deserializer
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.thortech.xl.dataobj.util.tcApplicationLookup.introspect(Unknown S
    ource)
    at com.thortech.xl.dataobj.tcADP.introspectAPI(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcADPBean.introspectAPI(Unknown Sou
    rce)
    at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(St
    atefulSessionContainer.java:584)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
    java:153)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
    ke(CachedConnectionInterceptor.java:149)
    at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(State
    fulSessionInstanceInterceptor.java:315)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
    Interceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
    rceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
    torCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
    66)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
    ryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6
    24)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:245)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke
    (JRMPInvoker.java:805)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
    406)
    at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:534)
    any guesses.
    Satbir.

  • Log4j:ERROR Could not instantiate class [org.jboss.logging.util.OnlyOnceErr

    Hi,
    when i run my standalone application i am getting following error:
    I am using log4j-1.2.15.jar file.
    log4j:ERROR Could not instantiate class [org.jboss.logging.util.OnlyOnceErrorHandler].
    java.lang.ClassNotFoundException: org.jboss.logging.util.OnlyOnceErrorHandler
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)
         at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:320)
         at org.apache.log4j.xml.DOMConfigurator.parseErrorHandler(DOMConfigurator.java:302)
         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:266)
         at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
         at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
         at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
         at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
         at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
         at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
         at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
         at org.apache.log4j.Logger.getLogger(Logger.java:105)
         at com.DSA.common.offline.batchjob.Job.<clinit>(Job.java:37)
    log4j:ERROR Could not create an Appender. Reported error follows.
    java.lang.ClassNotFoundException: org.jboss.logging.appender.DailyRollingFileAppender
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)

    solved by adding file
    jboss-common.jar. to the classpath

  • ERROR Could not instantiate class [org.jboss.logging.util.OnlyOnceErrorHand

    Hi,
    when i run my standalone application i am getting following error:
    I am using log4j-1.2.15.jar file.
    log4j:ERROR Could not instantiate class [org.jboss.logging.util.OnlyOnceErrorHandler].
    java.lang.ClassNotFoundException: org.jboss.logging.util.OnlyOnceErrorHandler
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)
         at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:320)
         at org.apache.log4j.xml.DOMConfigurator.parseErrorHandler(DOMConfigurator.java:302)
         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:266)
         at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
         at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
         at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
         at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
         at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
         at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
         at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
         at org.apache.log4j.Logger.getLogger(Logger.java:105)
         at com.DSA.common.offline.batchjob.Job.<clinit>(Job.java:37)
    log4j:ERROR Could not create an Appender. Reported error follows.
    java.lang.ClassNotFoundException: org.jboss.logging.appender.DailyRollingFileAppender
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)

    My property file is given below:
    what i need to change here?
    log4j.rootLogger=FATAL, dest1
    log4j.logger.dsaLogging=DEBUG, dsa
    log4j.additivity.dsaLogging=false
    log4j.appender.dest1=org.apache.log4j.ConsoleAppender
    log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
    log4j.appender.dest1.layout.ConversionPattern=%-5p:%l: %m%n
    log4j.appender.dest1.ImmediateFlush=true
    log4j.appender.dsa=org.apache.log4j.RollingFileAppender
    log4j.appender.dsa.File=./logs/dsa.log
    log4j.appender.dsa.MaxFileSize=2000KB
    # Previously MaxBackupIndex=2
    log4j.appender.dsa.MaxBackupIndex=5
    log4j.appender.dsa.layout=org.apache.log4j.PatternLayout
    log4j.appender.dsa.layout.ConversionPattern=%l:%d: %m%n

  • Preference Error: Could not load sharing preference pane

    For some reason my second computer (iMac 27) is no longer showing up on the left pane of any finder window on my MBP. The iMac is running Yosemite and the MBP is running Mavericks. So I open System preferences to see if there is a problem with "Sharing" on the MBP. I'm getting a Preference Error: Could not load sharing preference pane. Do I need to install the update to fix this? I'm not ready to commit to Yosemite completely. I build apps for iOS and Mac and really need to test in both OS environments.

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.systempreferences.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • ERROR Could not load style sheet: custom.css

    Hi i am working with ADF faces.I had used selectors to change the skin.I put all the selectors in custom.css file.And i put the folder in the webcontent folder.
    Like Skins/Ex/custom.css.
    And here is the content of my adf-faces-skins.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>Ex.desktop</id>
    <family>Ex</family>
    <!-- <skin-family>#{sessionScope.skinFamily}</skin-family> -->
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <style-sheet-name>custom.css</style-sheet-name>
    </skin>
    </skins>
    And adf-faces-config.xml content is
    <?xml version="1.0" encoding="windows-1252"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <skin-family>Ex</skin-family>
    </adf-faces-config>
    Now my problem is my application could't recognize the stylesheet.
    And while i run the application i am getting the output which is using the Simple skin.......And in the log file it showing the error like
    2006-11-09 14:18:58.125 ERROR Could not load style sheet: skins\Ex\custom.css
    So anybody could help me in finding out the error.......Hope so..........
    Thanks.......
    simmi

    I am sorry
    Here is the content of my adf-faces-skins.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>Ex.desktop</id>
    <family>Ex</family>
    <!-- <skin-family>#{sessionScope.skinFamily}</skin-family> -->
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <style-sheet-name>skins\Ex\custom.css</style-sheet-name>
    </skin>
    </skins>

  • Preferences error - could not load displays preference pane

    My screen resolution changed during game play. Now that the game is off, I cant change it back. This is what the error message says "Preferences Error - Could not load Displays preference pane."

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Preferences error: Could not load Accounts preferance pane.

    When trying to access my accounts tab under system preferences, it does the usual "must restart system preferences" fiasco to boot into 32-bit mode. After it relaunches, it displays an error message:
    *Preferences Error:*
    Could not load Accounts preference pane.
    I've searched the apple support forums, google, insanelymac, and have not come up with a solution. So far, I've tried:
    -Deleting the system preference... preference under account -> library -> preferences -> com.apple.systempreferences.plist
    -Under system -> library -> preferencepanes I am running version 3.0 of Accounts.prefPane
    -I have booted from the system disk and repaired permissions along with disk
    -I tried restoring an older version of Accounts.prefPane from my time machine back-up, and I receive the same error. (this did not happen in 10.5.8)
    Any help is appreciated. It's rather important that I access my accounts tab, haha. If worse comes to worse, I'll just wipe my entire system and do a fresh install. (something I'd rather avoid.) For the record, I did do a simple install of Snow Leopard instead of a clean install.
    Cheers!

    Hello Mr:
    When trying to access my accounts tab under system preferences, it does the usual "must restart system preferences" fiasco to boot into 32-bit mode. After it relaunches, it displays an error message:
    Preferences Error:
    Could not load Accounts preference pane.
    I have never seen that nor did I experience it myself.
    Before you do an erase and install (there is no +"clean install"+ in Apple parlance), I would reinstall OS X 10.6 (over your current installation). Frankly, the message makes no sense (I am not suggesting it did not happen).
    Barry
    Message was edited by: Barry Hemphill

  • Error : Could not load com.sap.ip.bi.rig.Format in WAD 7

    Hi,
    Given config to be as below:-
    ABAP Stack - BI 7 EhP1 SP3
    Java Stack - BI 7 SP Level 19
    while I try to implement the Format Cell option using Analysis Web Item modification in WAD 7.0, I get the below error
    Could not load com.sap.ip.bi.rig.Format
    Plz. suggest what is the correct config that supports the above implementation.
    Thanks,
    Priya

    Thanks for reply,
    I have seen the post, But my problem is that, while executing WAD.
    could not load module com.sap.ip.bi.rig.format   error is coming.
    i think if these error is removed , coloring the backgroud will work via  module com.sap.ip.bi.rig.format.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

  • I am getting a photoshop error could not load photoshop because the preferences file was invalid and cln't load actions because of an unexpected end of file encountered.

    I am getting a photoshop error could not load photoshop because the preferences file was invalid and cln't load actions because of an unexpected end of file encountered.

    Are you trying to open Photoshop directly, or open it by double clicking on a Photoshop document, like a PSD file?  If the former, then you might need to reinstall.  Resetting Preferences would be the firs step, but I am not sure if that will work if Photoshop is not opening in the first place.
    Try doing so anyway.  Hold down Shift Alt Ctrl (Shift Opt Cmd) while opening Photoshop. OK the message to delete Preferences.
    If you get the unexpected end of file error while trying to open Photoshop via a PSD document, then there is more than a good chance that that file is toast.
    If still stuck, we need to know Operating System, and Photoshop version.

  • Preferences Error - Could not load Network

    My dad just bought me a (used)) iBook g4 to replace my old one. It's running 10.3.9. It didn't come with a wireless card, so I ordered an Airport Extreme and installed it. I'm pretty sure I installed it correctly, I heard all the right clicks.
    It booted up afterwards and the first thing I did was to run system update and try to get everything up to date. There were a ton. After it restarted, it no longer was connecting to our wirelesss network. I tried to go to System Preferences > Network and it responds with the error message "Preferences Error - Could Not Load Network" and nothing opens. Not to mention my DVD Player no longer works!
    I have no idea what's at fault here- the airport extreme card, a bad update... And no idea how to fix it! Any help would be appreciated!

    That it is not recognizing the retail (thanks cornelius) Leopard DVD is a problem indeed.
    It should be plugged into the mains power, as the CD/DVD drive uses a lot of power when it is spinning.
    Back to your About this Mac, does it mention that your optical drive can read DVDs?
    On mine this info is located down the list under ATA which will have mentioned, CD
    and in detail in the lower window
    eg. Drive type: CD - RW/ DVD - ROM
    if it shows the DVD-ROM part, that indicates it can read DVDs.
    If it should be able to, then I wonder if the iBook's optical drive is OK. I could suggest loading another DVD into it, but you say DVD Player.app is missing.
    What you could try is buying from a computer shop a CD drive cleaning kit, and following the instructions, run that through it. That is a fairy inexpensive exercise.
    If it still does not recognize the DVD, and you had another Mac that you could connect by Firewire Target Disk mode, you could try installing leopard on it that way. But before that rather complex arrangement, try the disk cleaner. It might be a quick fix.

  • Error: Could not load file or assembly 'Microsoft.Activities, Version=1.0.0.0

    Hi,
    I am using VS 2012 to create custom sequential workflows (2010 model). The workflows created in VS 2010 are working fine, but the workflow created in VS 2012 is throwing the error.
    When the workflow is run, I am getting the below error:
    Error:
    Could not load file or assembly 'Microsoft.Activities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Stack Trace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean
    forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean
    throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.Assembly.Load(AssemblyName assemblyRef) at System.Workflow.Activities.Rules.SimpleRunTimeTypeProvider.get_ReferencedAssemblies() at System.Workflow.Activities.Rules.RuleValidation.DetermineExtensionMethods()
    at System.Workflow.Activities.Rules.RuleValidation.get_ExtensionMethods() at System.Workflow.Activities.Rules.RuleValidation.GetNamedMethods(List`1 targetTypes, String methodName, BindingFlags methodBindingFlags) at System.Workflow.Activities.Rules.RuleValidation.ResolveMethod(Type
    targetType, String methodName, BindingFlags methodBindingFlags, List`1 argumentExprs, ValidationError& error) at System.Workflow.Activities.Rules.MethodInvokeExpression.Validate(CodeExpression expression, RuleValidation validation, Boolean isWritten) at
    System.Workflow.Activities.Rules.RuleExpressionWalker.Validate(RuleValidation validation, CodeExpression expression, Boolean isWritten) at System.Workflow.Activities.Rules.RuleValidation.ValidateConditionExpression(CodeExpression expression) at System.Workflow.Activities.Rules.RuleExpressionCondition.Validate(RuleValidation
    validation) at System.Workflow.Activities.Rules.RuleConditionReference.Evaluate(Activity activity, IServiceProvider provider) at System.Workflow.Activities.IfElseActivity.Execute(ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T
    activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()
    How to fix this?
    Thanks

    Hi,
    The machine in which the workflow was created is different from the machine it is deployed.
    Which dll should be available? Is the dll not part of SharePoint 2013?
    Is this part of workflow Manager?
    Thanks

  • Error could not load RoboHelp.

    I start a excisting project up in RoboHelp Word. When I try
    to open a topic I always recieve this error message:
    Could not load RoboHelp. Re-install RoboHelp if you continue
    to get this message. Error could not load RoboHelp. The problem is
    that I have re-installed RoboHelp and also tried to install it into
    my other computers but no luck.
    Suggestions??????

    Did you install it with admin rights attached to your login?

Maybe you are looking for

  • How to ijntroduce PUSH Button in KD_GET_FILENAME_ON_F4

    Dear Experts, I am new to ABAP. I know how to use push button in Sel-Screen. But my requirement is: 1)How can I use a push button in "KD_GET_FILENAME_ON_F4" so that on hitting the push button a PopUp screen appears. 2) This Pop up screen should be a

  • Acrobat 11 & Office 2013

    I have acrobat 11 and I just installed office 2013 but can't see the ribbon in my office products? I just reloaded Acrobat 11 - still nothing

  • ESS: Changing input field to dropdown box

    Hi,   We are configuring ESS, portal's record working time iview has a column "wage type(CATSD-LGART)" which is input field with search help in portal screen.We are looking for an option to change this field to drop down box.  Client wants simple nav

  • ITunes (64-bit) for Windows 7

    So my computer pretty much failed a week ago and I went to open iTunes and it said I can't. It told me i needed the 64-bit version. So i came to the website and hit the button that said 64-bit version for Windows 7. The new window opens, but it doesn

  • Why can I not sync my iPod Nano 3rd Gen to my iTunes 9.1.1?

    My daughter mistakenly downloaded the latest iTunes version which does not work with my older iPod Nano 3rd gen.  Before all this happened I was running version 9.1.1 which was working beautifully.  After uninstalling the updated version and reinstal