Jar Issues
I tried using a gnu-regexp jar file from another directory and this is the error I get:
C:\jdk1_3_1_02\myDirectory\reg\>javac - classpath "..\..\otherDirectory\bin\java\g
nu-regexp-1.1.1" Expression.java
Expression.java:56: cannot resolve symbol
symbol : class Re
location: class Expression
Re myre;
^
1 error
Thanks!
Is the Re class supposed to be inside the jar file? What is the full name of the jar file? Normally the file name ends with .jar or .zip. You need to include the jar file in the classpath, not the directory that contains the jar file.
Similar Messages
-
Weblogic upgrade from 8.1 to 10.3.6 - WLW_IDE.jar issue
Hi
We are in the process of upgrading our applications from Weblogic 8.1 to 10.3.6. Since WorkShop IDE has been decommissioned since Weblogic 10.3.2 we don't have the WLW_IDE.jar any more in the fusion middleware installation. The build is dependent on this JAR. Would like to know if there is an alternative to WLW_IDE.jar which can be used to make the build or how we can remove the dependency on WLW_IDE.jar - we don't want to rewrite the code.
<taskdef name="wlwBuild" classname="workshop.core.WlwBuildTask" classpath="${weblogic.home}/workshop/wlw-ide.jar"/>
<target name="build">
<wlwBuild work="${app.dir}/${work.file}" serverclasspath="${server.classpath}">
<build outputdir="${output.dir}" outputfilename="${output.file}"/>
</wlwBuild>
</target>
Rgds
SriniHi Srini,
it supports but you need to upgrade correctly.
follow this link
Beehive Applications
after upgrade if you found some error like classnotfound error.
If those are the errors you were also experiencing, then please follow one of these options to resolve this issue:OPTION
1:Identify all the JARs that contain the beehive classes and explicitly add the jar files to the classpathOPTION
2:When you created the domain (if you used the Config Wizard), do you make it a "Workshop" domain? If not, try that.That should deploy the Workshop framework (Beehive controls, NETUI, etc) libraries as shared libraries. Then these libraries should be referenced in your applications weblogic.xml and weblogic-application.xml.
regards,
Kal -
Hi,
We have a client wsdl , and for communication with webservice as per client have to use AXIS1.4.
So imported all the jars into the project EJBmodule related to SOAP, but still the jars are not recognized while building the application.
Need a quick help on this.
Thanks
Srivastsa
+91-9885304877HI ,
Issue resolved: /people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii
Thanks
Srivastsa -
OLE/Jar Issue..
hi
i m new to this forum. i need ur kind attention to the issue.
1. i have signed both the jar files (frmwebutil & jacob). i did this through windows command prompt (as per instructions in webutil.pdf) and got message like '...done'.
i attached 'webutil.pll' to the form & subclass webutil.olb. OLE2 works on Application server .e.g., create word document file, put data the save it. but when i do this from client machine (although i use 'CLIENT_OLE2'), i get error,
WebUtil Error:oracle.forms.webutil.oleFunctions bean not found. cliend.create_obj will not worki m using Developer Suite 10 G (10.1.2)
Looking 4 assistance
Regards
Hidayatthank u 4 replying
yes, it's in <oracle_Home>/forms/webutil.plx (as i m using 10G(10.1.2))
i think there is problem n signatures of jars. Jacob.jar was not properly signed. can u help me which version of jacob must be used with Developer Suite 10g (10.1.2) or how to correctly re-sign both the jars (frmwebutil&Jacob)
regards
hidayat -
Log4j.jar issue under Web Service Security Module
I am running into an issue with log4j.jar for WebLogic OES PDP. there is a custom appender class that extends org.apache.log4j.AppenderSkeleton, if we packed into one jar file under \bea\ales32-ssm\webservice-ssm\lib\log4j.jar everthing is fine. if we split this class with another jar file(sth like patch.jar) and add a entry in the config file WLESws.wrapper.conf under bea\ales32-ssm\webservice-ssm\instance\WSSM\config and it failed with this error,
but an error is
generated when starting the WSSM(Web Service Security Module):
log4j:ERROR A "com.foo.AuditJMSQueueAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [com.bea.security.providers.utils.InverseURLClassLoader@5f7d3f] whereas object of type
log4j:ERROR "com.foo.AuditJMSQueueAppender" was loaded by [sun.misc.Launcher$AppClassLoader@a18aa2].
log4j:ERROR Could not instantiate appender named "JMS_AUDIT".
130
ARME is started now
Rendering object type: AuditAtzEvent
I have tried add java option:log4j.ignoreTCL=true. in this WLESws.wrapper.conf file, but does not work.
How to resolve this issue, Thanks for your help!hi
Can anyone help with this... -
Hey All,
I ran into a strange issue with OIM dealing with a custom JAR I had created.
I started with custom PostProcessHandler where I implemented bunch of sevice procedures. Everything worked fine but then I decided to move those service procedures out to a separate service class and deploy it as a separate JAR. After that I ran in the strange behavior.
1) When I try to write to the same ODLLogger in the service class which Handler class uses, I see nothing in my log.
2) I got a strange error, as like OIM can't find some basic classes
MessageDrivenBean threw an Exception in onMessage(). The exception was:
java.lang.NoClassDefFoundError: oracle/iam/conf/exception/SystemConfigurationServiceException.
java.lang.NoClassDefFoundError: oracle/iam/conf/exception/SystemConfigurationServiceException
at com.icsynergy.dfwproject.EventHandlers.UserPostProcessHandler.execute(Unknown Source)
at oracle.iam.platform.kernel.impl.OrchProcessData.runPostProcessEvents(OrchProcessData.java:1275)
3) That SystemConfigurationServiceException is somewhere at the end of my service class code. I have bunch of OIM API calls before that and I see no fails on those.
Can anyone help me with that strange issue?
Thank you in advance!Just follow anyone of the step and see whether its works or not:
You can try uploading it into the ThirdParty, and also, from the weblogic console, go to your server startup parameters and add the path of the jar file into the startup class
You can try your thirdparty .jar in $DOMAIN_HOME/lib folder and restart
You can place Jar into OIM lib directory $OIM_HOME/apps/oim.ear/APP-INF/lib/ and restart
You can modify the script that launch weblogic (namelly startWeblogic.sh) and add in the classpath a folder called "MyFolder" where your third party jars are kept.
~J -
Hi,
I am trying to call a plug-in in my existing java code.
I have added the JAR to library.
Basically, I need to establish connectivity to another server and insert data in that database.
This is handled by a plug-in "BOPlgin.jar".
I have imported the Plugin JAR file and instantiated the main class. in my code.
BusinessObjectsPlugin plugin = new BusinessObjectsPlugin();
it is giving a strange error in the consloe:
SRVE0026E: [Servlet Error]-[com/crystaldecisions/sdk/exception/SDKException]:
java.lang.NoClassDefFoundError: com/crystaldecisions/sdk/exception/SDKException
This class is very much available and is actually imported in the class I am trying to instantiate.
Am I missing something in calling the plug-in?
Please help me !!This is a web-app.
But It does not have any EJBs.Irrelevant
So, JAR Dependencises in RAD is emptyRAD?
You know that dependencies doesn't mean "EJB" right?
Can you be more specific in your question, please?Your problem is, you're not deploying those dependencies (the jars) to your web app. Sure, you can compile ok because your IDE knows about them, but your IDE isn't your container. So you need to deploy those jars to your container, too. How you do this depends on your container, but I'd be suggesting you write an Ant script to do it, however you do it. Having said that, I don't really have a question any more -
Reg admin_client.jar issues
Hi all,
I want to deploy a war file using admin_client.jar utility. Before that, I am trying to validate the server uri using the -validateURI option. Here is the command I give:
C:\OraHome_1\j2ee\home>java -jar admin_client.jar deployer:oc4j:opmn://uswv-agl-gold.synaptics.com:12401 oc4jadmin oc4jadmin -validateURI
I get the following error:
*Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/util/Trac
eLogger*
at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateU
RICommand.java:56)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4j
AdminCmdline.java:96)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdli
ne.java:73)
Any inputs are highly appreciated.
Thanks,
PramHi all,
I want to deploy a war file using admin_client.jar utility. Before that, I am trying to validate the server uri using the -validateURI option. Here is the command I give:
C:\OraHome_1\j2ee\home>java -jar admin_client.jar deployer:oc4j:opmn://uswv-agl-gold.synaptics.com:12401 oc4jadmin oc4jadmin -validateURI
I get the following error:
*Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/util/Trac
eLogger*
at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateU
RICommand.java:56)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4j
AdminCmdline.java:96)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdli
ne.java:73)
Any inputs are highly appreciated.
Thanks,
Pram -
Helpful for everyone - JAR issues
Hello,
It would be great if some can answer the following questions:
1. When we sign a jar using a keystore from where it gets and assigns the permission for that jar.
2. What are the permissions by default a self-signed jar will have?
3. Which is the policy file being used while signing a Jar using JARSigner.
Thanks.Just guessing but i think this is reasonable to assume
1. When we sign a jar using a keystore from where it
gets and assigns the permission for that jar. It doesn't the permissions of the jar are dependable on the end user, you just tell the enduser what your program needs and the end user either agrees or declines the request
2. What are the permissions by default a self-signed
jar will have? none
3. Which is the policy file being used while signing a
Jar using JARSigner.again none, you specify a policy file when you deploy your application
Thanks. Correct me if i am wrong,
Mr Mean -
Altercast_sdk Jar issue
I am writing a very simple application for PDF merge using Java API of Adobe Document Server. This is standalone application and NOT a EJB or Web Service.
When I am trying run my app from commandline , the error is related to altercast_sdk.jar file.
The error :
/opt/adobe/documentserver.6.0/sdk/java/lib/altercast_sdk.jar: syntax error at line 21: `(' unexpected
I am running on Soloaris and Java1.4.x.
Please let me know how to fix the above problem.
Thank you for your time in advance.Seems like an error in your code at line 21.
Can you please post the relevant part of the code that we could see the usage there. -
All,
I couldnt able to add the mediacomponent class eventhough mediacomponent.jar has included..
Could anybody help me to resolve??
Thanks is advance..
Thanks
Maniso do i.
the package is found inside the import but still
compiler says "cannot find symbol" later on.
weird thing -
HI,
i am not able to avoid the applet warning message.Though we created the sign-jar.
Regards
Muthukumari am not able to avoid the applet warning message.Though we created the sign-jar.
Correct. One cannot and should no be able to turn off the applet warning message. Applets are applications running on your computer and could be malicious. Signing the jar does not guarantee they are not malicious since anyone can obtain a certificate signed by one of the major CAs. All a CA certifies is that the owner of the certificate is who they say they are and not that they are trustworthy. If he had been alive today, Al Capone could have obtained a legitimate signed certificate under his own name but would you trust an application created by Al Capone? -
JXL.jar issue with NumberFormat
Hi, hope someone here can help me on this.
I am using jxl to print an output in excel.
I am trying to print in an excel cell a number plus the percentage symbol (without using the excel % which multiply per 1000)
Ex: I am getting in java code number 545 and want to have the output in excel file like "545%".
I am using this:
numberNoZeroBluePercentage = new WritableCellFormat(wf,new NumberFormat("0\"%\";(0\"%\")"));
But the output I get in excel file for the custom cell is: 0"%";(0
Seems that it trims the format...Any idea how to resolve this and get the complete output: 0"%";(0"%")baftos gave some good advice, but a few tips about manifests.
>
Main-Class:package.MyClass>I am not saying it is necessarily wrong, but I am used to seeing properties and values in a manifest separated by a space. E.G.
Not this..
Main-Class:package.MyClass..but this
Main-Class: package.MyClass
>
with a single return afterwards,..>Make sure your manifest ends with an entirely blank line. It will not be parsed correctly otherwise. Sun considers this part of the spec. on the manifest and will not be changing how manifest files are parsed.
If you have an IDE that includes Ant, or otherwise have Ant installed, it is usually better to leave the creation of manifest files to the Ant build script - that gets around a lot of these little quirks.
Edit 1:
BTW. Welcome to the Sun forums.
Edited by: AndrewThompson64 on May 2, 2009 12:26 PM -
Java to jar, with mainClass (something's wrong)
Hi. I know, there were some topics, about the java to jar issue, but I think this is different a bit...
so the question is: I'm trying to make a .jar from my jave file, and I've found a tutorial for it on the net (and as far as I remember, I've used this tutorial before, and it helped)
it says, I have to use this command:
"jar cmf mainClass.txt example.jar *.class"
I have a proper mainClass.txt, but when I try to run this command, I get this error message
"*.class: no such file or directory"
what am I doing wrong?
Thx for any help.Hi there,
As per the documentation you are trying to:
jar - The basic command
c - Create a new jar file
m - With a manifest entry
f - With the specific archive name
mainClass.txt - Name of the manifest file
example.jar - Name of the jar file you are creating
*.class - Jar up all of the class files that exist in this directory
So basically you have no class files in hte directory you are running this command from.
Also you'll probably want to run the command like so:
jar cmf example.jar mainClass.txt *.class - You'd typically have the name of the manifest file 2nd
Cheers,
Martijn -
Sapidoc3.jar initialization error!
Hello Experts,
I have configured the SAP Java Connector 3 successfully but I am not able to get this sapidoc3.jar issue fixed.
The executable jar shows me an error message as follow:
sapidoc3.jar initialization error
IDOC ERROR: java.lang.NoClassDefFoundError: com/sap/conn/jco/rt/ServerFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sap.conn.idoc.rt.DefaultIDocRuntime.get(DefaultIDocRuntime.java:66)
at com.sap.conn.idoc.rt.About.<init>(About.java:39)
at com.sap.conn.idoc.rt.About.main(About.java:70)
Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.rt.ServerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 5 more
I would appreciate if you could help me with this so that I can move in the process of integrating my Purchase Orders to a Third Party System using Java Connectors.
Your help would be greatly appreciated.
[Click Here|http://www.quadrem.ae/Screenshot.gif] to view the error screenshot
Regards,
NaumanThis error means the compiler was written using an older version of java than the library you are using. My guess is you are using a Java 1.2, 1.3. or 1.4 compiler with a Library compiled with Java 5
Searching on the error message usually tells you what the problem is.
[http://www.google.co.uk/search?q=class+file+has+wrong+version]
Maybe you are looking for
-
Is there anyway to use the ipad2 as a bluetooth headset?
Well that is my initial question. i have well searched the internet for the answer but haven't found anything really relevant to my search. i have a few tablets in my house for my kids, visitors, and for my wife and me. This question arose when i con
-
Copy/paste no longer functions in Firefox. I'm on Mac.
I recently updated Firefox and since then copy/paste does not work. It may actually be the paste that is failing as I think I may have glimpsed activity under the Edit when copying using the keyboard short cut [command C]. Help please. This is madden
-
Upon downloading the 4.0 version of your firefox, I have no longer been able to access downloads as they do not appear in the downloads folder (ie- pdf's etc).
-
TransferHandler under the JDK 1.5
There is a problem with TransferHandler in applet under the JDK 1.5. For example, try to execute an applet with the code from the classic sample of Tutorial http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html#cut. Any actions do not work th
-
Oracle result cache and functions
Hi All, I am on 11.2 in Linux. I want to use Oracle's result cache to cache results of (user defined) functions, which we use in SELECT commands. My question is, does result caching work for deterministic and non-deterministic functions ? Just curiou