Class not found for class generated by autotype when deploy

I'm getting a ClassNotFoundException when I attempt to deploy a webservice that was originally generated from an XSD.
1) I create the stubs using "autotype" and the schemaFile attribute. Class files are generated and placed in the location specified by destDir.
2) I then run source2wsdd to generate the web-services.xml and WSDL files. source2wsdd specified the "javaSource" attribute and points to the java file the WebService is to call.
I also take all the generated JAVA classes and put it into a JAR file for step 3.
3) I run wspackage to create the EAR file. For "webAppClasses" I specify the class files that goes with the "javaSource" specified in step 2. I also take the JAR file created in step 2 (which contains all the code generated by step 1) and use "utilJars" to put in the the /lib directory of the war file.
4) When I deploy, I get a "class not found" for one of the classes that is in the utility jar file I created in step 2. I have verified that the jar file is in the "web-inf/lib" directory.
What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to not find the class?
Thanks in advance...
Wayne

Bruce: Got it working. (Bad news is I'm not sure what I did to fix it. :-( )
My service now deploys, but I'm having problems doing a "source2wsdd" from inside
Eclipse. Found another customer in this group with the same issue, and added my
info to his message.
For now I have to run the build outside Eclipse, but at least my service is deployable.
Thanks for taking the time to reply to my message!
Wayne
Bruce Stephens <[email protected]> wrote:
I think attachments are working again, so you might post a short example
and we can take a look...
Bruce Stephens wrote:
Hi Wayne,
Could it be something simple like not being capital "WEB-INF"
...probably not, but who knows. Also, in step 1, is your destDir going
to WEB-INF/classes ?? Might review the working example Manoj generated
[1].
HTH,
Bruce
[1]
http://www.manojc.com/?sample43
Wayne Holmes wrote:
I'm getting a ClassNotFoundException when I attempt to deploy a webservice
that was originally generated from an XSD.
1) I create the stubs using "autotype" and the schemaFile attribute.Class files are generated and placed in the location specified by destDir.
2) I then run source2wsdd to generate the web-services.xml and WSDLfiles. source2wsdd specified the "javaSource" attribute and points to
the java file the WebService is to call.
I also take all the generated JAVA classes and put it into a JARfile for step 3.
3) I run wspackage to create the EAR file. For "webAppClasses" Ispecify the class files that goes with the "javaSource" specified in
step 2. I also take the JAR file created in step 2 (which contains all
the code generated by step 1) and use "utilJars" to put in the the /lib
directory of the war file.
4) When I deploy, I get a "class not found" for one of the classesthat is in the utility jar file I created in step 2. I have verified
that the jar file is in the "web-inf/lib" directory.
What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to notfind the class?
Thanks in advance...
Wayne

Similar Messages

  • OC4J: Class not found for class in jar file placed in \j2ee\home\applib\

    I have an ADF application which uses external libraries (jars), which works fine when running the application from within JDeveloper (TP4).
    However if I deploy the application to the embedded OC4J server it won't find any classes imported in those external libraries at runtime (deploy does work). E.g. one library class imports oracle.jbo.server.DBTransaction. If a method of this class is called I get the following exception:
    Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/classloader/util/AnnotatedNoClassDefFoundError
    oracle/classloader/util/AnnotatedNoClassDefFoundErrorThe same exception, when using a german locale, explicitely states that it cannot find oracle.jbo.server.DBTransaction.
    The jar files are placed in the \j2ee\home\applib\ directory and a <library> element to this path is present in application.xml.
    Any further hints what could be wrong?

    Hi Edwin,
    tried your suggestions but without success.
    when I add this library to server.xml then following error occures when starting OC4J
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog log
    SCHWERWIEGEND: Server start failed processing configuration
    java.lang.InstantiationException: Illegal tag, 'library': The library tag has moved from config/server.xml to config/application.xml, please update your configuration manually or reinstall.
            at com.evermind.server.XMLApplicationServerConfig.parseDeploymentMainNode(XMLApplicationServerConfig.java:1227)
            at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:342)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:222)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:154)
            at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:237)
            at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
            at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
            at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
            at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
            at java.lang.Thread.run(Thread.java:619)
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog logNoStack
    SCHWERWIEGEND: Server exiting: ApplicationServer entered state EXITING--> I added this to application.xml
    Than I enabled more logging of classloader "-Duser.country=US -Dclass.load.log.level=finest"
    Here a snippet of the output at starttime of OC4J:
    ================================
    08/09/18 10:17:07 Initial class loaders created. Uptime: 3156ms.
    08/09/18 10:17:07 Loading main class com.evermind.server.OC4JServer...
    08/09/18 10:17:07 com.evermind.server.OC4JServerMain class loaded. Uptime: 3344ms.
    08/09/18 10:17:07 Transferring to com.evermind.server.OC4JServer.main()...
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Ignoring <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml entry: code-source /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/lib/api-ext/adflogginghandler.jar (from system property api.ext.dirs) is already visible in the search path of adf.oracle.domain:11.1.4949.
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Import was not resolved for adf.oracle.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.
    08/09/18 10:17:15 Import was not resolved for adf.generic.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.Seems that oracle.fabric.runtime couldn't be found but the jar's are located in D:\oracle\jdevstudio1111_preview4_standalone\lib\java\shared\oracle.fabric.runtime\11.1.1.0.0
    It's the same as with my jdeveloper installation where I don't have this problems.
    regards
    Peter

  • Struts class not found for war file

    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I have all the
    library files in web-inf\lib directory. It gave me the error that class not found
    for some class in struts library. The console also told me the classpath. But
    I can use javap to find the class using the same classpath. Could any one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException: [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet class org.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a class on which it
    depends was not found in the classpath C:\bea\weblogic81\server\bin\myserver\upl
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

    Hello Mark,
    Your suggested solution (putting an empty commons-logging.properties into
    web-inf/classes or in a jar in web-inf/lib)
    does not make any change at all. It still complains about not being able to
    preload the servlet and still
    gives exceptions upong calling upon LogFactory.
    What I have been able to do is put the three classes from
    com.bea.wlw.netui.util.logging into a separate jar
    and add that to web-inf/lib.
    However I am sometimes getting funny exceptions upon undeploy
    (NoClassDefFoundError for org.apache.commons.collection.FastHashMap$KeySet).
    Regards,
    Robert Varga
    "Mark Griffith" <[email protected]> wrote in message
    news:[email protected]...
    From a FAQ on netui:
    1. Why do I get a ServletException while trying to deploy a struts web
    application on a Workshop/Integration/Portal domain?
    In the "<WL-HOME>/server/lib/knex.jar" file there is a properties file
    called "commons-logging.properties" which configures the
    com.bea.wlw.netui.util.logging.StrutsLogFactory class for Struts loggingas
    below:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    This class file is not available for a Struts web application that was not
    built using Workshop, the reason being the containing NetUI jar files are
    not present in the web application's WEB-INF/lib folder. This leads to a
    ServletException while deploying the web application. The solution is toadd
    a blank file (or a JAR containing the file) namedcommons-logging.properties
    to the server CLASSPATH, or to the WEB-INF/lib folder of the concerned web
    application. This issue will be fixed in Service Pack 2.
    cheers
    mbg
    "Robert Varga" <[email protected]> wrote in message
    news:[email protected]...
    Hi Rob,
    I also have a similar error with deploying a Struts web application into
    a
    8.1 Basic Workshop Domain created
    by 8.1 Platform.
    I get a ClassNotFoundException for 'com.wlw...StrutsLogFactory', whenStruts
    tries to load any Jakarta class
    from commons-beanutils or Struts which has logging.
    This happens because commons-logging picks up some property whichinstructs
    it to load that class, which is
    naturally not included in most web applications, since it is
    workshop-specific. This property definition, I think,
    is in <bea>\weblogic81\server\knex.jar, called
    commons-logging.properties,
    containing the following line:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    How can I override this in my webapp in a property file, so that when a
    Struts or Beanutils class calls
    LogFactory.getLog(org.apache.....<classname>.class), it would not try touse
    the property file and the
    class defined in knex.jar.
    Thanks in advance,
    Robert Varga
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Actually it complained about a NoClassDefFoundError. Generally this
    is
    caused by something in a parent classloader that is found but then
    depends on something only loadable in a child classloader.
    eg.
    You have something in your $CLASSPATH that references something in the
    WEB-INF/lib. This will NoClassDefFoundError.
    So, as I recommended, remove everything you've added to the$CLASSPATH,
    add the jars to WEB-INF/lib. If you're still having problems, show me
    your $CLASSPATH, the contents of WEB-INF/lib, and the error message
    /stack trace.
    -- Rob
    yuruo chen wrote:
    Hello, Rob,
    I did put the common-beanutils and other jar files in the
    web-inf/lib
    directory.
    And from the weblogic console, I do see the jar file get included in
    the
    classpath.
    (those generated file name have some number attached at the end.)
    As
    I
    mentioned
    before, I can use javap find the class using this weblogic generatedclasspath.
    But weblogic complained that the class is not found.
    Rob Woollen <[email protected]> wrote:
    Remove anything you've added to the server's classpath.
    Add the required jar files to WEB-INF/lib
    -- Rob
    yuruo chen wrote:
    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I
    have
    all the
    library files in web-inf\lib directory. It gave me the error that
    class
    not found
    for some class in struts library. The console also told me the
    classpath.
    But
    I can use javap to find the class using the same classpath. Could
    any
    >>>>>
    one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216>
    <Servlet:
    >>>>>
    "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException:
    [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet classorg.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a classon which it
    depends was not found in the classpath
    C:\bea\weblogic81\server\bin\myserver\upl
    >
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    >
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    >
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    >
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    >
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    >
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    >
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    >
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    >
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    >
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    >
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    >
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    >
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    >
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    >
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    >
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    >
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    >
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    >
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    >
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    >
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    >
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.
    atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

  • Object.class not found for JDeveloper For 11.5.102CU (Patch 4573517)

    Hi,
    we've just upgraded to 11.5.10 CU2 and I have downloaded new jdeveloper (4573517). On tryinmg to rebuild Tutorial.jpr I get compilation error "Initialization error. File java\lang\Object.class not found on classpath". JDEV_USER_HOME is set correctly to C:\OAJDEV11510\jdevhome\jdev and appears to be picked up in classpath settings below.
    Full compilation error below:
    Error: initialization error: file java\lang\Object.class not found on classpath C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\rt.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\i18n.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\jsse.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\jce.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\charsets.jar;C:\OAJDEV11510\jdevhome\jdev\myclasses;C:\OAJDEV11510\jdevhome\jdev\myhtml\WEB-INF\lib\datatags.jar;C:\OAJDEV11510\jdevbin\jdev\lib\jdev-rt.jar;C:\OAJDEV11510\jdevbin\jdbc\lib\classes12.jar;C:\OAJDEV11510\jdevbin\jdbc\lib\nls_charset12.jar;C:\OAJDEV11510\jdevbin\jlib\jdev-cm.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jmt.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\collections.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jct.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\xmlparserv2.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\jndi.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jctejb.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\ejb.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jhtml.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\datatags.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4juixtags.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4j_jclient_common.jar;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jctvb.jar;C:\OAJDEV11510\jdevbin\vbroker4\lib\vbjorb.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\ojsp.jar;C:\OAJDEV11510\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\OAJDEV11510\jdevbin\j2ee\home\oc4j.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\servlet.jar;C:\OAJDEV11510\jdevbin\jdev\lib\ojc.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\jsp-el-api.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\commons-el.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\oracle-el.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\regexp.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\share.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\sax2.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\uix2.jar;C:\OAJDEV11510\jdevbin\mds\lib\mdsrt.jar;C:\OAJDEV11510\jdevbin\jdev\lib\mdsdt.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\oamdsdt.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwk.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\wf.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\ak.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\flex.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\aolj.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\collections.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\appsSSO.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\concurrent.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\wsp.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\diagnostics.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\biamlocal.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bipres.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bicmn.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidatasvr.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidataclt.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidatacmn.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\biext.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bicmn-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\bipres-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\bidata-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\olap_api_92.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jdatum.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\cacheFwk.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\jttComn.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\iasjoc.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\pat.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\svc.zip;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jtester.jar;C:\OAJDEV11510\jdevbin\lib\xmlparserv2.jar;C:\OAJDEV11510\jdevbin\jlib\help4-nls.jar;C:\OAJDEV11510\jdevbin\jlib\help4.jar;C:\OAJDEV11510\jdevbin\jlib\share.jar;C:\OAJDEV11510\jdevbin\jlib\jewt4-nls.jar;C:\OAJDEV11510\jdevbin\jlib\jewt4.jar;C:\OAJDEV11510\jdevbin\jlib\oracle_ice5.jar

    RT.JAR Files as mentioned in the Error log is not in the Directory ( you can verify)
    Usually rt.jar is in
    jdevbin\jdk\jre\lib.. Check the JDEV_USER_HOME variable and also the Libraries under Project Setting of JDEV , when you click on any specific lib it show you a path in the class path section..verify the same.
    Thanks,
    Sunit

  • Class not found for Startup servlet

    I have deployed a war file under weblogic 7. The application has some startup servlets,
    which are failing to load during startup. It returns the following error messages
    for each servlet
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
    <kernel identity> <> <101249> <[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
    StartupTSContentDaemonServlet could not be loaded because the requested class
    was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)>
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
    <kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet" failed
    to preload on startup in webapp: "abcApps">
    javax.servlet.ServletException: [ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
    StartupTSContentDaemonServlet could not be loaded because the requested class
    was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:785)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
         at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
         at weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
         at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
         at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
         at java.lang.Thread.run(Thread.java:479)
    When i look into the directories weblogic created after deployment, there is a
    cls2372.jar at 1 level above the web-inf folder and it has all the servlets in
    the correct package structure i.e. com/abc/servlets/startup
    Any idea on why this is happening or what i am doing wrong?

    also posting to servlet newsgroup.
    "Ram" <[email protected]> wrote in message
    news:[email protected]...
    >
    I have deployed a war file under weblogic 7. The application has somestartup servlets,
    which are failing to load during startup. It returns the following errormessages
    for each servlet
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
    <kernel identity> <> <101249><[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
    StartupTSContentDaemonServlet could not be loaded because the requestedclass
    was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
    \user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
    \jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
    pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
    ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
    s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
    \abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
    es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
    s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
    cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
    \lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
    ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)>
    ####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
    <kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet"failed
    to preload on startup in webapp: "abcApps">
    javax.servlet.ServletException:[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
    Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
    StartupTSContentDaemonServlet could not be loaded because the requestedclass
    was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
    \user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
    \jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
    pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
    ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
    s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
    \abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
    es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
    s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
    cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
    \lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
    ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
    java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
    (Unsupported major.minor version 48.0)
    atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
    a:785)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
    ontext.java:2763)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
    Context.java:2708)
    atweblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
    tContext.java:2681)
    atweblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
    atweblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
    at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:744)
    at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
    at java.lang.Thread.run(Thread.java:479)
    When i look into the directories weblogic created after deployment, thereis a
    cls2372.jar at 1 level above the web-inf folder and it has all theservlets in
    the correct package structure i.e. com/abc/servlets/startup
    Any idea on why this is happening or what i am doing wrong?

  • Classes not found for jars listed in manifest

    I have an applet whose main jar has a number of dependent jars listed in the manifest. All the jars are signed.
    The applet works fine when downloaded from an HTTP server.
    Previous to 1.6.14 it would also run from a local directory.
    As of Java 1.6.15 and 1.6.16, the classes in the dependent jars are no longer loadable from the local directory. ClassDefNotFound is the reported on the java console. Obviously the class is present, as the application is running fine in JVMs 1.6.14 and previous.
    I see that 1.6.16 includes changes for the security baseline, but I cannot find anything that suggests changes are needed to support dependent jars. None of the dependent jars request a specific version of JRE.
    Anybody know what is going on?

    Is this the error? ...Yes, sorry, the exception is NoClassDefFoundError
    If you provide a Short, Self Contained, Correct Example someone may be able to diagnosis the problem, as opposeed to guessing. A link to the real live application can be found at: http://download.equitrac.com/38834/InstallGUI.html. (This original application does not meet the definition of short ... but demonstrates the problem well.)
    When run as an applet off this site, it works fine.
    If you click on the download button, it will place a copy on your local harddrive. To execute it locally double click on your local copy of InstallGUI.html.
    When running it locally with Java 1.6.15 and 1.6.16 it will give you a class def not found exception without doing any thing.
    When running locally with Java 1.6.14, it will not experience any trouble.
    This applet needs permissions to open sockets and store data on the harddrive.
    Probably due to the presence of class files that once existed outside of the jars, but are now not thereClose ... the application is made up of a main jar (our product) and a number of third party jars. The manifest for the main jar properly references the other jars, and works in all JVMs before 1.6.15. As of 1.6.15, none of the classes from the referenced jars can be opened.
    I found that I can work around the problem by placing all classes into a single jar ... which may infringe on licensing requirements for some of the third party jars we use.
    Dave

  • Modify service endpoint in webservices.xml throws class not found for link

    Hello, we had a problem for serveral days and have not found any solutions googling. We read the documentation and seems ok, so we are a little desesperate.
    We have a WebService project in Oracle Eclipse included in Weblogic 10.3.5 with the following classes:
    - An EJB (org.test.TestWSImpl) with the @WebService annotation:
    @WebService(serviceName = "TestService", portName = "testService", targetNamespace = "testNameSpace",
    endpointInterface = "test.TestWS", wsdlLocation = "/wsdls/test.wsdl")
    - When deploying the ear all runs ok. Now, for serveral business reasons, we need to change the defalut service URI so we added a webservices.xml and weblogic-webservices.xml.
    The webservices.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <webservices xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2">
         <webservice-description>
              <webservice-description-name>TestService</webservice-description-name>
              <port-component>
                   <port-component-name>testService</port-component-name>
                   <wsdl-port xmlns:tns="testNameSpace">tns:testDataService</wsdl-port>
                   <service-endpoint-interface>test.TestWS</service-endpoint-interface>
                   <service-impl-bean>               
                        <ejb-link>TestWSImpl</ejb-link>
                   </service-impl-bean>
              </port-component>
         </webservice-description>
    </webservices>
    In the weblogic-webservices.xml we define the new endpoint:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices
    xmlns="http://xmlns.oracle.com/weblogic/weblogic-webservices"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-webservices http://xmlns.oracle.com/weblogic/weblogic-webservices/1.1/weblogic-webservices.xsd">
    <webservice-description>
    <webservice-description-name>IE3SEnvironmentalMasterDataService</webservice-description-name>
    <webservice-type>JAXWS</webservice-type>
    <port-component>
    <port-component-name>e3sEnvironmentalMasterDataService</port-component-name>
    <service-endpoint-address>
    <webservice-contextpath>/E3S</webservice-contextpath>
    <webservice-serviceuri>/e3sEnvironmentalMasterDataService</webservice-serviceuri>
    </service-endpoint-address>
    </port-component>
    </webservice-description>
    We apreciate any help
    Thanks in advance!
    Edited by: 960518 on 21/09/2012 02:42
    Sorry for the copy; a browser error. Please delete this thread

    We have found a solution removing the eclipse webservice project and adding the EJB inside the EJB project module.
    greetings.

  • RE: (load : class not found) for IE.5 browser

    Hi
    I try appletviewer example1.html
    can do this class.
    But use IE.5 browser can't try this class
    show load : class Cor1 not found when mouse over it
    (my class include "import javax.swing.*;")
    Please help me
    thanks a lot
    David

    Hi
    thanks for your help
    But I want make a html file include class
    for every body view by internet
    So I want to know
    How let they can see my html file by IE.5 or Netscap. if they no Html converter?
    David

  • Class not found for: double

    Does anyone know how to get the class for a primitive double?
    I am trying to invoke a method that has a double parameter and I need the primitive double class.
    java.lang.ClassNotFoundException: double

    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Doub
    le.html#TYPEThanks for responding but,
    I forgot to add that I am using j2se 1.4.2 so I dont have that class :-(
    I am I am not trying to invoke a method I am actually trying to get a method
    args = Class[]{Class.forName("double")};
    obj.getClass().getMethod(methodName, args)Message was edited by:
    jwstudent
    Message was edited by:
    jwstudent

  • Class not found for web service

    hi,
    I'm tring to develop a simple web service using axis 1.3 and Tomcat 5.0 as container and server but I've got some problem catching some class. I've downloaded all the jar files (all the org.apache.axis.* and all in the WSDP2.0) but when I open jar files I get only the *.class and not the *.java.... I use the NetBeans IDE 5.0 to develop all the class but it say that it can find all these class.
    (I've put all the needed jar file in the library of the package)
    actually I need the AdminClient.java, Service.java all the jaxrpc.
    I think it could be really a simple problem.... but I don't know how I can go on....
    thanks

    I've just done the download of wsdp 2.0 or the previous version but in all jar file I can find only files with extension *.class. I need the *.java ?Isn't it?
    It's possible that the problem is using netbeans 5.0?
    I don't think so because also from the dos command line I can't found the property class....( java2wsdl.java )

  • Custom Validator Class not found in Class Path

    I have developed a custom validator class for User Self Registration request. However, when OIM is unable to find the custom validator class and generates teh following error:
    [oracle.iam.platform.pluginframework] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 76584c4849877d50:-45bb4068:13c8294bd72:-8000-0000000000001236,0] [SRC_CLASS: oracle.iam.platform.pluginframework.InternalStore] [APP: oim#11.1.1.3.0] [SRC_METHOD: getPluginInstance] Not able to load class com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator from classpath
    At what path should the jar file be placed?
    UZ

    I am running the plugin registration utility but it generates the error mentioned below. I have verified the structure of my zip file and the structure of zip file is:
    -> SelfRegisterUserCustomValidator.zip
    ->Plugin.xml
    ->/lib/SelfRegisterUserCustomValidator.jar
    ->/resources/
    Following our contents of plugin.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.request.plugins.RequestDataValidator">
    <plugin pluginclass= "com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator" version="1.0.0" name="SelfRegisterUserCustomValidator">
    </plugin>
    </plugins>
    </oimplugins>
    Following is the error being generated:
    Enter name (complete file name with path) of the plugin file:
    /u01/oracle/Middleware/Oracle_IDM1/server/plugin_utility/SelfRegisterUserCustomValidator.zip
    [java] Java Result: 1
    [echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platformservice/utils/PluginUtility
    [echo] Caused by: java.lang.ClassNotFoundException: oracle.iam.platformservice.utils.PluginUtility
    [echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [echo] at java.security.AccessController.doPrivileged(Native Method)
    [echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [echo] Could not find the main class: oracle.iam.platformservice.utils.PluginUtility. Program will exit.

  • Error class not found with Class.forName("oracle.jdbc.driver.OracleDriver")

    sorry Got the solution...!!!!
    Hi
    I am trying to connect to oracle database on the server, oracle client installed on working m/c, I have placed classes111.zip (from oracle 8) in jdk1.1.8demojrelibext folder and I have set the classpath to the ext folder. The code
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(Exception e)
    when I run this code , error as
    [[ java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ]]
    Please reply what are settings I should to to load this oracle driver,
    Thanks
    Mayank
    Message was edited by:
    user560333

    I currently have this same problem. How did you solve yours see my post Cant find suitable driver.

  • Class not Found Execption for inner classes

    Hi ,
    When I am trying to deploy a custom component despite of putting the class path I am facing isses regarding class not found for classes that are present in an inner jar.Can someone please let me know what could nbe wrong.Please let me know the correct way of doing so.
    I am adding a data type as well and adding the path thre also.
    Regards,
    Leena

    The most common problem is in the path part of the class-path.  One thing to remember is not to bother with .. or / at the start of the path.  For example my jar files are in a lib folder off the root of my application:
    <class-path>lib\aglj40.jar lib\pdfcore.jar lib\pdfencryption.jar lib\pdfservices.jar lib\rideau.jar</class-path>

  • Class Not Found Exception - applet won't run anywhere outside of IDE

    I have an applet that runs perfectly in the netbeans IDE, but won't run from command prompt (I'm using windows) or from a browser. I've been banging my head against the wall for a few days on this one. Here's the HTML I'm using:
    <applet width="400" height="525" code="musicapplet.class" archive="crypticgraffiti.jar">
    <param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000">
    </param> </param> Your browser is not Java enabled. </applet>
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    When I attempt to run from command prompt, I get:
    "Error: Could not find or load main class crypticgraffiti.MusicApplet"
    When I attempt to load via html:
    "basic: load: class musicapplet.class not found.
    load: class musicapplet.class not found.
    java.lang.ClassNotFoundException: musicapplet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: musicapplet.class
    security: Accessing keys and certificate in Mozilla user profile: null"
    I have tried every possible variation for the 'code' element of the applet tag (package.mainclass.class, mainclass, mainclass.class, etc). I have also tried compiling with JDK 1.6 and this didn't change anything. I've tried clearing out the cache of temporary files using the java control panel settings, and have verified that my browser can run other applets using JRE 6 and 7.
    I've tried some different ways of distributing the applet, also: putting all the class files in the folder with the html file, putting the classes in a source folder in the same folder as the html file, and finally putting a jar in the same folder as the html file (which really seems the simplest).
    Any help at all would be most appreciated! This applet is a very cool and original music creating app that draws heavily on the JFugue API. It's a shame that I can't get it online for people to play with!

    Cryptic Graffiti wrote:
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    Please note that class names are case sensitive so "MusicApplet" is not same as "Musicapplet" or "musicapplet". Your applet tag should have fully qualified class name (without quotes) and should look like this:
    <applet width=400 height=525 code=musicapplet.MusicApplet archive="crypticgraffiti.jar">
    </applet>
    The JAR should be in the same directory as your HTML file. While launching from command line, you can also check if your JAR file is getting included in classpath.
    Thanks,
    Nitin

  • VideoTexture class not found

    Hello,
    I have been waiting for the videoTexture class for a long time and now it's been included with the new release of Air 17 sdk, but unfortunately I can't get it to work in my small test project. I read the release notes to find an answer for my issue with no luck at all, my problem is that Air 17 runtime can't find VideoTexture class and throws this error: VerifyError: Error #1014: Class flash.display3D.textures::VideoTexture could not be found.
    It's really a simple project with 1 line only using Flasg Builder
    package
         import flash.desktop.NativeApplication;
        import flash.display.Sprite;
        import flash.display3D.textures.VideoTexture;
        public class videoTextureTest extends Sprite
            public function videoTextureTest()
                trace("version="+NativeApplication.nativeApplication.runtimeVersion);
                var v:VideoTexture;
    My working environment:
    - iMac late 2013 with OSX 10.9 maverick 64-bit, 8GB RAM, 2.7 GHz Intel core i5, video card: Intel Iris Pro 1MB
    - Flash Builder 4.6
    - Desktop project
    - Air 17.0.0.124 (flex developers) with Flex 4.6 merged
    - swf-version=28 Compiler argument is set
    - added <renderMode>direct</renderMode> in my xml discriptor
    I have checked the runtime version with trace output, it's 17.0.0.124
    I also ran a mobile version on my ipad mini 2 late 2013, same result: VideoTexture is no where to be found
    Please help and thank you in advance

    peter schlaeger (guest) wrote:
    : I got Class not found: oracle.net.asst.container.NetApplication
    : when starting netasst
    : Can anyone help ?
    : Thanks
    : Peter
    Install the patch and read the fine manual.
    null

Maybe you are looking for

  • Using TransformGestureEvents in Flash Builder

    Hi all, I  am trying to use the TransformGestureEvents to allow interaction inside  of a FLARE based application. I want to create a data visualisation app  with touch interaction. I have Flash Player 10.1, which  is needed for these classes, as i ha

  • Text link styles not transferring in IE 5.2 for Mac

    Hi, My page www.bethhockley.com/ptihome2.htm uses two styles of text link, both of which are defined in my external CSS www.bethhockley.com/bethhockleychanged.css the text links look as they should in all browsers barr IE 5.2 for Mac. My os is osx 10

  • TOTAL_TIME_SEC field value is more then 2000 sec in S_NQ_ACCT table

    Hi Everyone, In a Usage tracking report, I am displaying report response time (which is total_time_sec field in S_NQ_ACCT table). For few reports, this field value is displayed as more than 2000 secs, but in reality, that report doesn't run more than

  • Add a way to remove confirmation messages

    I use the spray can to flag photos as "rejected" the first time I go through them (along with other things, nice tool!). Every time I set or unset that flag, there is a large message in the middle of my light board telling me what I just did. Dang th

  • Typing but where are the letters??

    I have noticed the last couple days that when I am typing the letters are not appearing on the screen as I type.  Kind of reminds me of an old word processer. I can almost type an entire sentence and it takes about 10-15 seconds before the words appe