Class not found during deployment

I'm getting "class not found during deserialization of descriptor" during deployment of an EJB. What does this mean?

The problem is I am trying to use JavaMail in an EJB and it gives me the error if I create a javax.mail.Session. If I comment out the Session, deployment is fine. I am thinking that maybe the problem is I am using 8i version 8.1.5 and it only supports java 1.1.8.

Similar Messages

  • Class not found during deserialization of descriptor UserSession

    I am using JDeveloper 3.1.1.2 (build 767) to deploy an EJB to Oracle 8.1.6 and I get the following error message....
    Generating EJBHome and EJBObject on the server...
    Class not found during deserialization of descriptor UserSession
    *** Errors occurred while deploying the EJB to JServer ***
    *** Deployment completed ***
    I've tried
    a) to deploy all the classes in the project,
    b) create a new project step by step,
    c) use 'deployejb' and I still get the same error...
    Can anyone help? Thanks.

    Yep, JDeveloper auto generates the <>.ejb and it is a binary file.
    Seems a pretty specific error message....any help available from the JDev team??

  • Servlet class not found error deploying a WAR on Web Logic Server 8.1

    I'm re-deploying an updated web application to a web logic server, but when I navigate to the login page of the web application to test it, I get a class not found error for my login servlet. I have both the web.xml and the weblogic.xml descriptors in my WEB-INF directory, and all of my compiled classes are in the WEB-INF/classes directory, is there something else I'm missing? Any help would be much appreciated.

    Thanks for the response. Here's the web.xml file:
    <?xml version="1.0" ?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>Web Forms</display-name>
    <servlet>
    <servlet-name>LoginServlet</servlet-name>
    <display-name>LoginServlet</display-name>
    <servlet-class>LoginServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ChangePasswordServlet</servlet-name>
    <display-name>ChangePasswordServlet</display-name>
    <servlet-class>ChangePasswordServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>LogoutServlet</servlet-name>
    <display-name>LogoutServlet</display-name>
    <servlet-class>LogoutServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>PageServlet</servlet-name>
    <display-name>PageServlet</display-name>
    <servlet-class>PageServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>UploadServlet</servlet-name>
    <display-name>UploadServlet</display-name>
    <servlet-class>UploadServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>LoginServlet</servlet-name>
    <url-pattern>/LoginServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ChangePasswordServlet</servlet-name>
    <url-pattern>/ChangePasswordServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>LogoutServlet</servlet-name>
    <url-pattern>/LogoutServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>UploadServlet</servlet-name>
    <url-pattern>/UploadServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>PageServlet</servlet-name>
    <url-pattern>/PageServlet</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>Login.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    None of the classes are in a package (I know it's not the best idea, but I didn't write these, I'm just doing some updates). So the file structure is pretty much just WEB-INF/classes/
    At the moment I've got a fix by just putting the entire project (not in any sort of archive) on the server itself instead of deploying it as a WAR, any thoughts on why the WAR isn't working would be much appreciated though.

  • ResourceAdapter not found during deployment using WL 7.0 SP2

    Hi,
              Am using WL 7.0 SP2 on Win2k w/ JDK 1.4.
              Am using the non-managed mode (wherein the admin server is also the managed-server).
              Am trying to deploy my RA. On uploading the RAR using
              the admin console, I get the following error (from the server.log):
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Deployer Initiating a deployment task with id 8 for application bs-ra
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Deployer preparing application bs-ra on vspl-dev-server
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Deployer prepared application bs-ra on vspl-dev-server
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Management Configuration changes for domain saved to the repository.
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Deployer activating application bs-ra on vspl-dev-server
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info Connector Initializing connection pool for resource adapter BookStore-
              Resource Adapter_eis/BSResourceAdapter.
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Error Deployer Unexpected error was encountered during the deployment proce
              ss.
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Error Deployer The Slave Deployer failed to complete the deployment task wi
              th id 8 for the application bs-ra.
              java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter
                   at java.lang.Class.getMethods0(Native Method)
                   at java.lang.Class.getDeclaredMethods(Class.java:1034)
                   at java.beans.Introspector$1.run(Introspector.java:847)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:845)
                   at java.beans.Introspector.getTargetEventInfo(Introspector.java:551)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:289)
                   at java.beans.Introspector.getBeanInfo(Introspector.java:76)
                   at weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java:402)
                   at weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectionFactory(ConnectionPoolManager.java:64)
                   at weblogic.connector.deploy.ConnectorDeployer.activate(ConnectorDeployer.java:315)
                   at weblogic.connector.deploy.ConnectorModule.activate(ConnectorModule.java:221)
                   at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1662)
                   at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1087)
                   at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
                   at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
                   at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
                   at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              --------------- nested within: ------------------
              weblogic.management.ManagementException: 149233 - with nested exception:
              [java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter]
                   at weblogic.management.deploy.slave.SlaveDeployer.convertThrowable(SlaveDeployer.java:834)
                   at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1180)
                   at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
                   at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Warning Deployer Failures detected initiating weblogic.management.ManagementE
              xception: 149233 - with nested exception:
              [java.lang.NoClassDefFoundError: javax/resource/spi/Resource
                                                                                                  Adapter] task for application Activate application bs-ra on
              vspl-dev-server
              Jun 9, 2003 5:32:32 PM EDT vspl-dev-server Info Management Configuration changes for domain saved to the repository.
              Jun 9, 2003 5:32:36 PM EDT vspl-dev-server Error Connector ManagedConnectionFactory not found for jndiName eis/BSResour
              ceAdapter.
              Jun 9, 2003 5:32:39 PM EDT vspl-dev-server Error Connector ManagedConnectionFactory not found for jndiName eis/BSResour
              ceAdapter.
              Jun 9, 2003 5:32:47 PM EDT vspl-dev-server Error Connector ManagedConnectionFactory not found for jndiName eis/BSResour
              ceAdapter.
              Jun 9, 2003 5:32:48 PM EDT vspl-dev-server Error Connector ManagedConnectionFactory not found for jndiName eis/BSResour
              ceAdapter.
              There are two things I observer here.
              1. The ResourceAdapter class does not seem to be found by Weblogic. It's part of the javax.resource.spi package.
              I checked the weblogic.jar archive in the WL-HOME/server/lib folder. It does not seem to have the class. Why ?
              2. It complains about the ManagedConnectionFactory not being found. Am assuming that if the RA was deployed
              in the first place, I would not have seen this error (coz, the ManagedConnectionFactory would have been
              deployed in the previous step). Right ?
              I did observe that WL 7.0 supports only JCA 1.0. In JCA 1.0's (public) API, there is no mention of the
              javax.resource.spi.ResourceAdapter class, though the spec talks about it. ??
              Note: I had designed and implemented my RA as per JCA 1.5 (but nothing 1.5-specific, I guess).
              Any ideas ?
              thanks,
              raghu
              

    I figured it out. Darn simple.
              My ManagedConnectionFactory implementation referenced ResourceAdapter as
              it has to implement the ManagedConnnectionFactory interface of JCA 1.5.
              In JCA 1.0 (which is supported by WL 7.0 & 8.1), the ResourceAdapater
              is undefined. Hence, the classloading problem.
              Sorry for any confusion.
              raghu
              raghu h wrote:
              > Hi,
              >
              > Am using WL 7.0 SP2 on Win2k w/ JDK 1.4. Am using the non-managed mode
              > (wherein the admin server is also the managed-server).
              >
              > Am trying to deploy my RA. On uploading the RAR using
              > the admin console, I get the following error (from the server.log):
              >
              >
              >
              > -----------------------------------------------------------------------------------------------------------------
              >
              >
              > Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info
              > Deployer Initiating a deployment task with id 8 for
              > application bs-ra
              > Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Info
              > Deployer preparing application bs-ra on
              > vspl-dev-server Jun 9, 2003 5:32:31 PM EDT
              > vspl-dev-server Info Deployer prepared application
              > bs-ra on vspl-dev-server Jun 9, 2003 5:32:31 PM EDT
              > vspl-dev-server Info Management Configuration
              > changes for domain saved to the repository. Jun 9, 2003 5:32:31 PM
              > EDT vspl-dev-server Info Deployer activating
              > application bs-ra on vspl-dev-server Jun 9, 2003 5:32:31 PM
              > EDT vspl-dev-server Info Connector
              > Initializing connection pool for resource adapter BookStore-
              >
              > Resource Adapter_eis/BSResourceAdapter.
              >
              > Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Error
              > Deployer Unexpected error was encountered during the
              > deployment proce
              >
              > ss.
              >
              > Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Error
              > Deployer The Slave Deployer failed to complete the deployment
              > task wi
              >
              > th id 8 for the application bs-ra.
              >
              > java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter
              > at java.lang.Class.getMethods0(Native Method)
              > at java.lang.Class.getDeclaredMethods(Class.java:1034)
              > at java.beans.Introspector$1.run(Introspector.java:847)
              > at java.security.AccessController.doPrivileged(Native Method)
              > at
              > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:845)
              > at java.beans.Introspector.getTargetEventInfo(Introspector.java:551)
              > at java.beans.Introspector.getBeanInfo(Introspector.java:289)
              > at java.beans.Introspector.getBeanInfo(Introspector.java:76)
              > at
              > weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java:402)
              >
              > at
              > weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectionFactory(ConnectionPoolManager.java:64)
              >
              > at
              > weblogic.connector.deploy.ConnectorDeployer.activate(ConnectorDeployer.java:315)
              >
              > at
              > weblogic.connector.deploy.ConnectorModule.activate(ConnectorModule.java:221)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1662)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1087)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
              >
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
              >
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
              >
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
              >
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > --------------- nested within: ------------------
              > weblogic.management.ManagementException: 149233 - with nested exception:
              > [java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter]
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.convertThrowable(SlaveDeployer.java:834)
              >
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1180)
              >
              > at
              > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
              >
              > at
              > weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
              >
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > Jun 9, 2003 5:32:31 PM EDT vspl-dev-server Warning
              > Deployer Failures detected initiating
              > weblogic.management.ManagementE
              >
              > xception: 149233 - with nested exception:
              >
              > [java.lang.NoClassDefFoundError: javax/resource/spi/Resource
              >                                                                                   
              > Adapter] task for application Activate application bs-ra on
              >
              > vspl-dev-server
              >
              > Jun 9, 2003 5:32:32 PM EDT vspl-dev-server Info
              > Management Configuration changes for domain saved to the
              > repository. Jun 9, 2003 5:32:36 PM EDT vspl-dev-server
              > Error Connector ManagedConnectionFactory not found for
              > jndiName eis/BSResour
              >
              > ceAdapter.
              >
              > Jun 9, 2003 5:32:39 PM EDT vspl-dev-server Error
              > Connector ManagedConnectionFactory not found for jndiName
              > eis/BSResour
              >
              > ceAdapter.
              >
              > Jun 9, 2003 5:32:47 PM EDT vspl-dev-server Error
              > Connector ManagedConnectionFactory not found for jndiName
              > eis/BSResour
              >
              > ceAdapter.
              >
              > Jun 9, 2003 5:32:48 PM EDT vspl-dev-server Error
              > Connector ManagedConnectionFactory not found for jndiName
              > eis/BSResour
              >
              > ceAdapter.
              >
              > -------------------------------------------------------------------------------------------------------------
              >
              >
              >
              > There are two things I observer here. 1. The ResourceAdapter class does
              > not seem to be found by Weblogic. It's part of the javax.resource.spi
              > package.
              > I checked the weblogic.jar archive in the WL-HOME/server/lib folder. It
              > does not seem to have the class. Why ?
              > 2. It complains about the ManagedConnectionFactory not being found. Am
              > assuming that if the RA was deployed
              > in the first place, I would not have seen this error (coz, the
              > ManagedConnectionFactory would have been
              > deployed in the previous step). Right ?
              >
              > I did observe that WL 7.0 supports only JCA 1.0. In JCA 1.0's (public)
              > API, there is no mention of the
              > javax.resource.spi.ResourceAdapter class, though the spec talks about
              > it. ??
              >
              >
              > Note: I had designed and implemented my RA as per JCA 1.5 (but nothing
              > 1.5-specific, I guess).
              >
              > Any ideas ?
              >
              > thanks,
              > raghu
              >
              >
              >
              >
              

  • Class not found error deploying  application in weblogic

    I am getting this error message deploying my application in weblogic.
    also my weblogic-application.xml has the following entries .Please tell me what am I missing ?
    <weblogic-application>
         <prefer-application-packages>
              <package-name>antlr.*</package-name>
              <package-name>org.objectweb.*</package-name>
              <package-name>org.apache.commons.*</package-name>
              <package-name>org.apache.log4j.*</package-name>
              <package-name>org.springframework.*</package-name>
         </prefer-application-packages>
    </weblogic-application>
    Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
         at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
         at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
         at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
         at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
         at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
         at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
         at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
         at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
         at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
         at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
         at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
         at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)
         at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
         at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
         at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
         at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:806)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:724)
         at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1363)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1329)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:476)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:282)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:103)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1238)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1006)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:282)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:103)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1238)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1006)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:174)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:436)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:410)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:539)
         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
         at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:290)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:956)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:174)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:436)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:410)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:539)
         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
         at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:290)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:956)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:469)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:717)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:376)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)

    This error line does hint that you do have the required JARs in the classpath but there may be version different. If jar is missing you would have NoClassDefFound Error. But it say method signature not found. May be the jar that you are using do not have this method. Try using other version of the jar. Incase if you have like any java decompiler, you can always open this .class file and see if this method signature exists in that class.
    Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
    I do not know anything about asm, but just incase if this class happens to exist in any other package also but with different APIs (older versions) and you are referring them first. Usually this happens if we have same class with diff versions in diff jars and the order in which this class gets loaded. So if you have this same class but latest version put those JARs in the first before asm jars. You gave list of some packages, put the asm package in the end and see if that helps. Its just a hint as we do run into these kind of issues specially with diff version os Struts jars that we use everyday with weblogic.
    HTH
    Ravi Jegga

  • Error in File name or class name not found during Automation operation: 'CreateObj​ect'

    Hello Team,
    When I am trying to execute the below code i am getting the following error. Any help would be greatly appreciated.
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    If Not oFSO.FolderExists(SavePath) Then
    Set f = oFSO.CreateFolder(SavePath)
    Else
    End If
    53 4/11/2014 12:27:22 PM Error:
    Error in <NoName(4).VBS> (Line: 9, Column: 1):
    File name or class name not found during Automation operation: 'CreateObject'
    I have googled through the error and tried to re-register the scrrun.dll using regsvr32 eventhogh it is successfully registered, i am getting the following error. My PC is windows 7 32bit OS.
    any help is greatly appreciated.

    The following script class will write a log file entry. See if it will run for you.
    The script is using a class object that you might not have seen before. A little intro:  The top section is just for testing the class. Normally I just comment this out after the class is working well.  It should run right way. I would save the vbs file in the editor, That way when you are using autoactpath or currentscriptpath variables they will be able resolve the paths.
    Paul
    Attachments:
    LoggingCode_V2.VBS ‏5 KB

  • 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

  • Class not found when generating deployment xml in MW

    any ideas anyone?
    java.lang.RuntimeException: Class not found:
         at oracle.toplink.workbench.persistence.BldrProjectToRuntimeProjectConverter.convert(Unknown Source)
         at oracle.toplink.workbench.ui.BldrSession.generateDeploymentXML(Unknown Source)
         at oracle.toplink.workbench.ui.BldrMainView.generateDeploymentXMLForSelectedProjects(Unknown Source)
         at oracle.toplink.workbench.ui.BldrActionManager$61.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Hi,
    'Class not found' in the Mapping Workbench usually means that one of your classes was not included in the 'class path' panel. In the Mapping Workbench select the project -&gt; Class Path -&gt; Add Entry...
    For example, in my case I have Person.class, which is part of the package com.toplink.course. 'C:\dev\tl400\classes\com\toplink\course&gt;Person.class'
    So in the Mapping Workbench -&gt; Class Path I put 'C:\dev\tl400\classes'
    Raanan.

  • Class Not Found Error during provisioning

    Hello,
    I am running on jboss-4.0.3-SP1, OIM 9.0.3 latest patch. I am new to this implementation and just rebuilt the dev environment. I am checking the provisioning of the resources and ran into a class not found error.
    The error says:
    2011-10-19 10:23:17,111 DEBUG [XELLERATE.ADAPTERS] Class/Method: tcADPClassLoader/findClass entered.
    2011-10-19 10:23:17,111 DEBUG [XELLERATE.ADAPTERS] Class/Method: tcADPClassLoader:findClass - Data: loading class - Value: com.jscape.inet.ssh.SshException
    2011-10-19 10:23:17,112 ERROR [XELLERATE.SERVER] Error encountered in save of Data Object com.thortech.xl.dataobj.tcScheduleItem
    2011-10-19 10:23:17,112 ERROR [XELLERATE.SERVER] Class/Method: tcDataObj/save encounter some problems: com/jscape/inet/ssh/SshException
    java.lang.*NoClassDefFoundError*: com/jscape/inet/ssh/SshException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpFAPROVISIONING.implementation(*adpFAPROVISIONING.java:92*)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    xxxxxxxxxxxxx
    When I looked at the process task named "FA Provisioning", line 92, I see this reference:
    90:
    91: //Initialize persistant object "INIT"
    92: clsINIT = Class.forName("*com.cpsg_inc.oim.unix.SSHCommandExecutor*");
    93: maoConstructorArgs = new Object[]{};
    94: masConParamTypes = new Class[]{};
    95: moCons = clsINIT.getConstructor(masConParamTypes);
    96: INITconsObj = moCons.newInstance(maoConstructorArgs);
    xxxxxxxxxxx
    When I open the adapter task named iNIT Connection (this is the first task in the FA Provisioning process task Adapter), API Source: JavaTaskJar:cpsgUnix.jar
    Application API: com.cpsg_inc.oim.unix.SSHCommandExecutor
    Constructors: 0 public com.cpsg_inc.oim.unix.SSHCommandExecutor()
    Methods: 9 public void com.thortech.xl.integration.tenetssh.helper.SSHPrvosioning.SSHInit(...)
    xxxxxxxxxxxx
    Then I made sure the jar file named cpsgUnix.jar is present in the OIM_HOME/JavaTasks directory.
    But still I have the error.
    What am I missing?
    thanks
    Khanh

    Thanks everyone for your input.
    I added the sshfactory.jar file in the JavaTask folder and it worked.
    Thanks again.
    Khanh

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • Class not Found when accessing Proxy class from backing bean in VC.

    Hi All,
    I'm attempting to access a class of a webservice(generated as a proxy) within my ADF application and invoke the method within a backing bean of the View Controller(bean scope : backing bean). The proxy has generated an ObjectFactory class among other classes. When I access this Object factory class from within the backing bean, the application throws a Class not found error.
    I don't know where the error lies since I've declared the View Controller of the ADF application dependent on the Proxy and I've imported the class and accessing it within a backing bean. How would you suggest I approach resolveing this.
    JDev : 1.1.1.4
    Thank you.
    Regards
    PP.

    Hello Arun,
    Thank you for suggesting a Data control, but my requirement isn't to drag and drop the method as a button. It's more of a behind the scnes updating data via a database adapter requirement.
    I've resolved the issue. turns out, my deployment archive didn't include the proxy.jpr. Once included it works likea charm.
    Thanks
    PP.

  • Class not found exception when launching opencounterslogger.bat

    PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    Expected PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    claspath is D:\bea\alui\ptportal\10.3.0\lib\java\jakarta-oro-2.0.7.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openfoundation.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openlog-framework.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openconfig.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openkernel.jar;D:\bea\alui\ptportal\1
    0.3.0\lib\java\pmb.jar;D:\bea\alui\ptportal\10.3.0\lib\java\opencounters.jar
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/plumtree/openkernel/impl/counters/adaptor/logger/PTRemoteCounterLoggerMain
    Press any key to continue . . .
    The class PTRemoteCounterLoggerMain is not in any of the jars in the classpath. Also opencountersconsole.bat is not to be seen is the installation

    Hi Mark,
    I have seen your two posts and there are something you need to notice:
    Where the ClassNotFound exception you got? From deployment tool or
    application server kjs process?
    Of course, you need not to add supporting classes to each ejb jars or ears.
    1. If you use deployment tool to package your application, I'm sure you'll
    fail to resovle your classes without supporting classes added to jars.
    Please select Edit->Preference,in Classpath entry, enter the supporting
    classes(packaged to jar files) location. This should work.
    2. After deploy to ias, please edit the registry using kregedit which you
    described in your posts.
    Regards,
    Johnson
    "Mark Priest" <[email protected]> wrote in message
    news:9s6h33$[email protected]..
    When I deploy EJBs to the iPlanet app server I find that I need to include
    all supporting classes in each ejb jar file. According to the
    Administrator's manual I should be able to modify the kjs classpath bydoing
    the following:
    On Windows
    a.. Open iPlanet Registry Editor.
    (See About iPlanet Registry Editor)
    b.. Open the following key:
    SOFTWARE\iPlanet\Application Server\6.0\Java\
    c.. Modify the class path and restart the server for the change to take
    effect.
    However, when I add my supporting classes to a jar in this directory Istill
    get a class not found exception when I run the deployment tool.
    Adding the classes to each EJB jar is redundant and introduces lots of
    problems. How should I configure iPlanet so I only need to put my
    supporting classes in one place?
    Thanks,
    Mark

  • Java applet class not found exception for check scan

    I am getting a class not found exception when trying to scan a check into a banking website. The application uses Java and the exception error has the name "com.epaysol.checkscanAppletV2" in the message. I have the latest Firefox and the latest Java installed. I tried going to an earlier version of Firefox and of Java where this app worked in the past and it does not work now in the earlier versions either. So I am now back to the latest version of everything.

    Try to clear the Java cache:
    * http://www.java.com/en/download/help/5000020300.xml
    Control Panel > Java > General tab > "Temporary Internet Files" > Settings > Delete Files
    *XP: C:\Documents and Settings\<user>\Application Data\Sun\Java\Deployment\cache\
    *Vista: C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment\cache\

  • Java.lang.class not found

    Hi,
    I configured scenario FILE TO JDBC, the sender channel is successful but in the receiving I am getting the error that java.lang.class not found.
    In the receiver communication channel, I gave "com.microsoft.jdbc.sqlserverdriver".
    what database connection parameters need to be given??
    Thanks,
    Satish.

    Whats your database ?
    As Suresh said, did you deploy your JDBC driver ?
    How to ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to install and configure external drivers for jdbc and jms adapters.pdf
    After configuring your communication channel, did you check the Adapter Monitor
    XI SP > 09
    http://<host>:5<sysnum>00/rwb -> Component Monitoring -> All Display -> Adapter Engine -> Adapter Monitor
    XI SP <= 09
    http://<host>:5<sysnum>00/AdapterFramework
    Oracle Driver & Connection:
    JDBC Driver: oracle.jdbc.driver.OracleDriver
    Connection: jdbc:oracle:thin:@<hostname>:<port_umber>:<database_name>
    SQL Server Driver & Connection:
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=<DBName>
    regards
    Shravan

  • "Class not found" error at runtime when ExternalLib DC is included in WD DC

    Hi All,
    I am getting "Class not found" exception at runtime when external library DC is included in Webdynpro DC.
    I am following the below steps..
    1) Created a Webdynpro DC - "testProj" to which i need to add the external library DC.
    2) Created a DC of type "External Library" called "externaljar"
    3)Added Public Parts of type assembly and compilation to the "externaljar" DC (Component Properties Tab -> Public Parts)
    4) Right click on the assembly Public Part name -> Manage entities, and added the JAR files as archive.
    5)Right click on the compilation Public Part name -> Manage entities, and added the JAR files as archive.
    6)Go to Webdynpro DC "testProj" .
    Under Component Properties Tab -> Dependencies tab -> Add -> selected the "externaljar" DC -> Next -> for "externaljar" DC checked Deploy time and Run time.
    For assembly Public Part and compilation Public Part "build" is selected by default.
    7) I did build of both the DC's and deployed it.
    Im getting "Class not found" error.
    Please let me know where i am going wrong.
    Thanks,
    Shilpa.

    Hi Balakrishna,
    If I add Jar files in build path, at run time I dont get any errors, but I get error at comple time. So an external DC is made which includes all jar files in its public part and this DC is added as dependency in the webdynpro project (at deploy time,run time) as in below blog.
    /people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii
    Here im getting the error "class not found".
    Thanks,
    Shilpa.
    Edited by: Shilpa KG on Jun 18, 2008 4:42 PM
    Edited by: Shilpa KG on Jun 18, 2008 4:44 PM

Maybe you are looking for

  • Multitap on touchpad no longer works after Xorg 7.4 upgrade

    After upgrading to Xorg 7.4 I can no longer use a two finger tap to middle-click, where I could before. Two finger scrolling was on by default somehow, but turning that off didn't help. How can I get middle-click back.

  • Jpg to 3D plot

    I have a ~3Mpixel photo (jpg) that I want to reproduce in a three dimensional plot showing pixel coordinate (x and y axes) versus intensity (z axis) - the photo is basically a grey-black (has an intensity gradient) spot on a glass plate.  In some ima

  • Why won't my safari screen stay maximized when I initially open?

    I always have my safari screen maximized, but just recently everytime I start up safari, the screen is minimized.  How do I permanently have the safari screen maximized upon opening please?

  • Private properties in Userobject?

    Hello all, We are in the middle of studying a Sharepoint environment. We want to use the user profile page, and later on MySite, for a companies adress book. In the present company adress book users can read their pincode for the printer (Uniflow pri

  • Cannot generate stack.xml file

    Greetings, We are not able to generated stack.xml file in /usr/sap/trans/EPS/in We have tried in /n/tmwflow/mopz_stack. MOPZ is configured we are able to approve support patches This xml file is required to upgrade the ECC_DIMP from 600 to 605 Please