JAR Error
Using JDEV 10g, I did a JClient application with application module.
I have now two packages: model and view.
I'm trying to create a jar executable file with all classes and necessary jar, but I can't succeed.
When a lunch java -jar <..>.jar
I obtain: Exception in thread main java.lang.NoClassDefFoundError: oracle.jbo.uicli.controls.JUPanel
Could someone tell me the steps to create the jar (I used the oracle documentation but it's not really clear) ... or find the solution to NoClassDefFoundError error?
Thanks!
Riccardo
Riccardo,
posted the following on a similar problem:
I assume that you built a deployment profile for the model and this start directly with the JClient project
1. Select View project and choose "New" from the right mouse menu
2. Select "Deploymemt Profiles" --> "Jar file"
3. In the opened "JAR deployment profile properties" dialog, select "Profile dependencies"
4. check mark all Model.jpr deployment profiles (DON'T check the same for the view)
5. Select "File Groups" and press "New" button
6. Define a name and select "Dependecy Analyzis"
7. Select the <defined name> node and click the "Libraries" tab
8. Select all libraries that you want to include in your jar file (e.g. you probably don't need Intermedia)
9. Select "Include Content in Output" or "Add to dependency Analyzer" (the first is more reliable, but creates a bigger jar file. You can run a preview on the deployment descriptor to see if there are missing dependencies)
10. Create the jar file (as you will see its a lot bigger than it was)
Now, why do you have to do all this?
Deploying a JClient application assumes that all the required runtime libraries are in the classpath of the target system, so they get shared across machines.
Therefore only the essential application files are in the jar.
If you want to deploy them all with your application, then again you have two options: Create a jar of jar files that then goes into the classpath, or - as described above - make all the content go into one giant jar file and play with it until it has an acceptable size.
Frank
Similar Messages
-
Hi,
Has anyone received this error before:
Unable to deploy EJB: C:\ws\portal\main\projects\portal2\wps.jar from wps.jar:
weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB
'MailService' is not a user in the current realm. The user must exist for the
EJB to successfully deploy.
If you have, could you please let me know how to correct this error at your earliest
convenience?
Thanks,
Eva
[wps_jar_error.txt]It looks like you've requested a MDB to run as the portaladmin principal
but you don't have a user with that name in your system.
-- Rob
Eva wrote:
Hi,
Has anyone received this error before:
Unable to deploy EJB: C:\ws\portal\main\projects\portal2\wps.jar from wps.jar:
weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB
'MailService' is not a user in the current realm. The user must exist for the
EJB to successfully deploy.
If you have, could you please let me know how to correct this error at your earliest
convenience?
Thanks,
Eva
####<Jul 8, 2004 5:16:28 PM CDT> <Debug> <Deployer> <SC8> <apaServer> <ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149078> <Stack trace for message 149004
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
Module: wps.jar Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
####<Jul 8, 2004 5:16:28 PM CDT> <Error> <Deployer> <SC8> <apaServer> <ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application testPortal.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
Module: wps.jar Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for wps.jar
Module: wps.jar Error: Exception preparing module: EJBModule(wps.jar,status=NEW)
Unable to deploy EJB: C:\bea81\user_projects\applications\testPortal\wps.jar from wps.jar:
weblogic.ejb20.WLDeploymentException: The run-as principal 'portaladmin' for EJB 'MailService' is not a user in the current realm. The user must exist for the EJB to successfully deploy.
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.getRunAsPrincipal(MBeanDeploymentInfoImpl.java:1047)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeRunAsSettings(MBeanDeploymentInfoImpl.java:838)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:246)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -
Corrupt JAR, error while reading
I installed SDK 3.0 and jdk 1.6.0_05. i compiled a simple application and created a jar-file in command line using the following commands:
C:\Program Files\Java\jdk1.6.0_05\bin>javac -source 1.4 -target 1.4 -bootclasspa
th C:\lib HelloMidlet.java
C:\Program Files\Java\jdk1.6.0_05\bin>jar cvfm HelloMidlet.jar manifest.txt Hell
oMidlet.Class
added manifest
adding: HelloMidlet.Class(in = 1410) (out= 655)(deflated 53%)
C:\Program Files\Java\jdk1.6.0_05\bin>And now, when i'm trying to run my app with one of the emulators in SDK, i have an error:
*** Error ***
A problem occured during deploying application from http://127.0.0.1:3607/HelloMidlet.jad
Reason:
Corrupt JAR, error while reading: HelloMidlet.class
Process exited with exit code 1What can be the problem?
P. S. Sorry if i had mistakes in English, i'm just studying)Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now. -
Xerces.jar error when migrating from weblogic 8.1SP6 to Oracle Weblogic 10.
Hi all,
I am migrating the J2ee (1.4) application from 8.1sp6 to Oracle Weblogic server 10.3
I have set the environment in build.xml to point to Oracle weblogic server and the java to the one that comes with Oracleweblogic.
Rite now I am seeing the following error.
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:51: package org.apache.xerces.validators.datatype does not exist
[javac] import org.apache.xerces.validators.datatype.XMLException;
[javac] ^
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:109: cannot find symbol
[javac] symbol : class XMLException
[javac] location: class com.myapp.sample.ejb.external.pmt.ServicesBean
[javac] public static String validateXML(String xmlRequest) throws XMLException {
[javac] ^
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\dao\tm\CommonTMDao.java:281: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
According to Oracle Weblogic , xerces is been not supported .
Also we need to go with the xerces.jar for some time.
Any ideas /inputs/work arounds on this will be appreciated.
thanks,
Jyothsna
Edited by: user10751474 on Oct 9, 2009 9:56 AMYou have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871 -
Oracle JDBC Jar Error in DtSQL
I installed Oracle in Windows and used a DB Tools ( DtSQL )
connect Oracle.
It receives error. I checked the error message,
it failed when it call the driver to connect the db and does nothing with DtSQL.
Do you guys ever test Oracle JDBC jar file like this ? Or the jar file is not OS independant ?
Any ideas ?
Thanks in advanced.>
I installed Oracle in Windows and used a DB Tools ( DtSQL )
connect Oracle.
It receives error.
>
what error? post error stack
Do you guys ever test Oracle JDBC jar file like this ? we are not Oracle testers
Oracle JDBC jar files are provided by Oracle (and tested by Oracle).
Or the jar file is not OS independant ?It is not correct. jar files are OS independent.
Any ideas ?No ideas until you post error stack
Edited by: Mark Malakanov (user11181920) on Apr 5, 2013 3:09 PM -
Loadjava / soap.jar / errors during loading into 9.2 dbms
Hello!
I followed the description under "
http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html"!
I tried to test a webservice call from java stored procedure in oracle 9.2 dbms, but i get the following error while using loadjava.
e.g.
referenced object oracle/dms/http/HttpBasicAuthorizationException could not be resolved, or e.g. OracleSOAPHTTPConnection ...
Any idea, what i should do instead?
regards
Harald.This note details the errors I typically get from loading as well as the extra commands I need to run to get a call out to a particular endpoint running (as extra information to the writeup you already have used).
Can 8i be a Web Service Consumer?
The other thing to make sure is that you use the soap.jar that ships with Oracle9iAS not the one that ships with the database as the database soap.jar is from a much older version of Apache SOAP than that that ships with 9iAS. I believe the above writeup details this too.
Mike. -
Appc generate ejb.jar error
Hi
I tried weblogic.appc (WL8 sp2) to generate a very simple stateless ejb, it
has warings when compiling:
java weblogic.appc trader.jarE:\Tmp\appcgen\statelessSession_mt9oui_HomeImpl.java:43: warning:
non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
"ejbCreate", null);
^
E:\Tmp\appcgen\statelessSession_mt9oui_HomeImpl.java:47: warning:
non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
"ejbPostCreate", null);
^
2 warnings
then, when deploying it via WL console, it has exceptions:
Exception:weblogic.management.ApplicationException: prepare failed for
trader Module: trader Error: Exception preparing module:
EJBModule(trader,status=NEW) Unable to deploy EJB: statelessSession from
trader.jar: java.lang.AssertionError: Unable to find expected methods.
Please check your classpath for stale versions of your ejb classes and
re-run weblogic.ejbc at
statelessSession_mt9oui_HomeImpl.<clinit>(statelessSession_mt9oui_HomeImpl.j
ava:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27) at
java.lang.reflect.Constructor.newInstance(Constructor.java:274) at
java.lang.Class.newInstance0(Class.java:306) at
java.lang.Class.newInstance(Class.java:259) at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInf
oImpl.java:974) at
weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983) at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283) at
weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477) at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContaine
r.java:29
Can any help?
Thanks
John woo
TorontoJohn,
"John Woo" <[email protected]> wrote in message news:[email protected]...
Thanks lots, Slava .
U r right, now instead of using javac, I'm using jikes, which is good for
all jdk.The problem is that your Java runtime may be still 1.5, so you may get other
strange errors. I don't think you will need 1.5 for a while, at least to develop
apps under weblogic. You may want to review your environment settings.
HTH.
Regards,
Slava Imeshev
>
>
>
>
John Woo
Toronto
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Hi John,
Make sure that you are using JDK 1.4.2, not 1.5.x. You may know your javaversion by
running this command:
java -version
Hope this helps.
Regards,
Slava Imeshev
"John Woo" <[email protected]> wrote in message
news:[email protected]...
Hi
I tried weblogic.appc (WL8 sp2) to generate a very simple statelessejb, it
has warings when compiling:
java weblogic.appc trader.jarE:\Tmp\appcgen\statelessSession_mt9oui_HomeImpl.java:43: warning:
non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
"ejbCreate", null);
^
E:\Tmp\appcgen\statelessSession_mt9oui_HomeImpl.java:47: warning:
non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
"ejbPostCreate", null);
^
2 warnings
then, when deploying it via WL console, it has exceptions:
Exception:weblogic.management.ApplicationException: prepare failed for
trader Module: trader Error: Exception preparing module:
EJBModule(trader,status=NEW) Unable to deploy EJB: statelessSession from
trader.jar: java.lang.AssertionError: Unable to find expected methods.
Please check your classpath for stale versions of your ejb classes and
re-run weblogic.ejbc at
statelessSession_mt9oui_HomeImpl.<clinit>(statelessSession_mt9oui_HomeImpl.j
ava:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27) at
java.lang.reflect.Constructor.newInstance(Constructor.java:274) at
java.lang.Class.newInstance0(Class.java:306) at
java.lang.Class.newInstance(Class.java:259) at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInf
oImpl.java:974) at
weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)at
weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283) at
weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477) at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContaine
r.java:29
Can any help?
Thanks
John woo
Toronto -
OSB 11g import sbconfig.jar error
Hello everybody,
I'm trying to import OSB config jar to newly created OSB 11g environment. The following error occurs in Oracle Service Bus console during import:
The import failed with exception: com.bea.wli.config.component.NotFoundException: Failed to create temporary jar file
Operation System is RHEL 5.5, JVM is JRockit 1.6.017
OSB is installed to /u01/bea and oracle is the owner of this directory. Oracle user has write permissions to /tmp directory too.
Any idea, why this can happen? What directory does OSB use to create temporary jar file ?
Regards,
DmitryRe: OSB - configuration project deploy error
Regards,
Anuj -
WAF jars error, version 49.0 not 48.0
Hi, i was trying to develop an application pretty much like the petstore 1.4 but when i add the jar files of the WAF framework to my project and compile it i have this message:
bad class file: F:\SANDWAVE 2005\WAF\waf-ejb.jar(com/sun/j2ee/blueprints/waf/controller/ejb/action/EJBActionSupport.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import com.sun.j2ee.blueprints.waf.controller.ejb.action.EJBActionSupport;
1 error
The classpath is ok, but i don't know what does it means with "version 49.0, should be 48.0".
I'm using Tomcat 5.5.7 and Netbeans 4.1.
Anyone had this problem ?
thanks, bye.Hi,
I am facing the same problem with NetBeans.
Have you found a solution for it already?
Thanx,
Niranjan. -
I am using netbeans beta 5 and i get this error when i do java -jar filename,jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
at tictactoe.Main.main(Main.java:27)That missing class is part of the new Free Design (Matisse) layout manager. It doesn't exist outside of NetBeans; you need to add it to your classpath to use it outside of NB. (There are plans to add this as a manager to Java, I believe in Mustang, which would eliminate the problem..)
The class is in this jar, just add the jar to the classpath.
C:\Program Files\NetBeans_5beta\ide6\modules\ext\swing-layout-0.7.jar
If you look at the Project's Libraries, you'll find an entry for this jar, "Swing Layout Extensions - swing-layout-0.7.jar" -
SDM.jar Error when installing NW04 Sneak Preview in Phase 9
When installing the SP11 NW04 Sneak Preview I get on Phase 9 of the installation the error:
Unable to access jarfile C:\Programme\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/installsdm/SDM.jar
The mentioned directory is indeed empty. On the downloaded distribution I cannot find a file called SDM.jar.
Any ideas?Hello,
I have the same problem and rebooting doesn't solve this mess:
WARNING 2006-02-22 15:26:14
Execution of the command "C:\j2sdk1.4.2_10/bin/java.exe '-Xmx64M' '-Djava.ext.dirs=C:\Programme\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/installsdm/libs' '-jar' 'C:\Programme\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/installsdm/SDM.jar' 'autoinstall' 'sdmHome=C:\usr\sap/J2E/JC00/SDM/program' 'popDir=C:\Programme\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/installsdm' 'sdmRoot=C:\usr\sap/J2E/JC00/SDM/root' 'javaHome=C:\j2sdk1.4.2_10' 'Sdmadminport=50017' 'Sdmguiport=50018' 'Sdmhttpport=50019' 'extractpackedinst=true'" finished with return code 1.
Output: Unable to access jarfile C:\Programme\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/installsdm/SDM.jar
Where can I find or download this sdm.jar file?
Thanks in advance
Thomas -
Xmlparserv2.jar error will extract jdev 9.0.3.3
hi. please help me
i have error will extracting jdev 9.0.3.3 zip
Extracting xmlparserv2.jar
bad CRC 1e64c498 (should be a734aa41)
Warning: the size of the extracted file (658337) does not match the uncompressed size (658404) recorded in the zip file
i use xmlparserv2.jar from 9.0.3.2 this problem ?
can anyabody help me to send this file to my email in
[email protected]
thank's
thank'sSounds like a damaged ZIP file. I would download the JDeveloper again.
-
whenever I try to run "jar ..." in Linux I get 2 errors:
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
I have the JRE folder set in my path, so I'm at a loss for why it can't find it.The JRE does not come with the jar program!
For that you need the JDK!
D for Develpment, R for Runtime. When Running a program you are meant to already have the jars!
Other frequent problems I have found when using Java on UNIX is due to the fact that some have a default 1.x install under /usr/bin with simlinks. When installing new JDKs you really want the full path to the install directory, since the JDK/JRE use the directory structure to find relevant files/libraries, and the simlinks get in their way.
HTH,
Manuel Amago. -
Failed to load java type corresponding to e=weblogic-ejb-jar Error
Hi,
I am getting the following error when I try to build my application.
[java] <Aug 21, 2007 11:56:52 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error mess
age(s) below.>
[java] failed to load java type corresponding to e=weblogic-ejb-jar@http://www.bea.com/ns/weblogic/910
Note that I am upgrading my 8.1 descriptors to 9.1.
Any help is appriciated.
Thanks
RajaramTry the 90 namespace, even if you are running 9.1 or 9.2
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90" -
Loadjava error - loading JAR file
Hi,
I am trying to load a JAR file into the DB and am getting these errors:
$ loadjava -force -user user/pass javaTelnet.jar
Error while creating class javaTelnet/ScriptHandler
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetClient$ReaderThread
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetClient
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetWrapper
ORA-29537: class or resource cannot be created or dropped directly
Error while creating class javaTelnet/TelnetProtocolHandler
ORA-29537: class or resource cannot be created or dropped directly
The following operations failed
class javaTelnet/ScriptHandler: creation
class javaTelnet/TelnetClient$ReaderThread: creation
class javaTelnet/TelnetClient: creation
class javaTelnet/TelnetWrapper: creation
class javaTelnet/TelnetProtocolHandler: creation
exiting : Failures occurred during processing
These are the only other Java class I have in the DB.
SQL> select dbms_java.longname(object_name),status
2 from user_objects
3 where object_type='JAVA CLASS'
4 /
DBMS_JAVA.LONGNAME(OBJECT_NAME)
STATUS
PBoot
VALIDThe JAR contains all class files within a package named javaTelnet.
I am able to execute the JAR successfully from command line.
ThanksHi,
I am not able to load a simple java source/class(either one, not both) file into the DB.
$ dropjava -user user/pass -v A.java
dropping: source A
$ loadjava -user user/[email protected] -v -resolve A.java
arguments: '-user' 'user/[email protected]' '-v' '-resolve' 'A.java'
creating : source A
loading : source A
creating : A
resolving: source A
$
SQL> select dbms_java.longname(object_name),status
2 from user_objects
3 where object_type like 'JAVA %'
4 /
DBMS_JAVA.LONGNAME(OBJECT_NAME)
STATUS
PBoot
VALIDAny guess how I may be able to resolve this issue?.
Any trace files about loadjava written anywhere ?
Thanks
Maybe you are looking for
-
Creating Selection screen in Report Painter
Good day everyone, Does anyone know how I could create a selection screen in Report Writer? Thanks! >Christian<
-
My computer and itunes recognizes my phone, but itunes says that the phone cannot be used because it requires 11.1 or later. I have 11.1. I have tried restart, shut down, different cables.. HELP!!
-
Missing data in SQL server after using EVSND
Dear all, I am using BPC 5.1 I am trying to send data to BPC server using EVSND and the message indicated that data transfer is a success. However when i tried to use Microsoft SQL Server Management Studio to query the relevant data line from t
-
Granting Privileges on Functions
Hi, I have created two functions and am using them in a SQL statement. I would like to run the statement in apps mode, however the functions have been created under another account. I get this error message when running the statement in apps mode: OR
-
Mail 3.5 doesn't expunge on an IMAP
Running 10.5.6. Mail v3.5. Spamcop is my IMAP server. I have the IMAP settings in Mail set to leave deleted messages on server and also to move deleted messages to the Trash. I have selected the appropriate IMAP mailbox for Trash. When I delete an em