Errors on wrong version during compiling
I'm new in JAVA, please help.
I am using "StringBuilder" class in my java program and I notited that it needs the JDK 1.5 compiler. AFter I installed the JDK 1.5.02 and I got this compilation error when I compile my program using JBuilder 5.
"Lottery.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 49.0
Anybody out there can help?
You can't use 1.5.0 in JB5. I think you need JB2004 at least.
Similar Messages
-
Getting error for classpath setting during compilation
Hi,
I tried sampel code of SchematronValidation bpel sample code from oracle site.But while compiling the code,I am getting following error:
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
Plz help me on this to resolve!!!
Regards,
Deb
Edited by: DevD on Jun 30, 2011 2:40 PMHi Yatan,
Thanks for your inputs.
I have added BPM-Workflow class file in project properties.Now SOA-BUILD successful,but while deploying to server I am getting error:
Error during deployment: Deployment Failed: Error occurred during deployment of component: SchematronValdiationProcess to service engine: implementation.bpel, for composite: SchematronValidation: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0*soa_1272dcc8-82cf-4306-b31f-7aacd0be61cb"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
[05:10:15 PM] Check server log for more details.
[05:10:15 PM] Error deploying archive sca_SchematronValidation_rev1.0.jar to partition "default" on server soa_server1 [10.185.51.136:8001]
[05:10:15 PM] #### Deployment incomplete. ####
[05:10:15 PM] Error deploying archive file:/C:/JDeveloper/mywork/GM_POC/SchematronValidation/deploy/sca_SchematronValidation_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
Plese help me on this!
Regards,
Deb -
Error FRM-50027 returning during compiling a form on AIX 5.3
Hello,
We are using designer and generator (10.1.2.0.2) to generate the forms (Forms Version 10.1.2.0.2) on Windows XP SP2.
On the windows environment everything, the generation and compilation, seems to be correct and running this form locally is no problem.
After this the form is deployed to the IBM/IAX server and compiled using f90cmp amd athe below error is received:
FRM-50027: Invalid format mask for given datatype.
Edit Item: BLNG_DATINGANG
Item: BLNG_DATINGANG
Block: BLNG
Form: RLBLNG1M
FRM-30085: Unable to adjust form for output.
Form not created
The item indicated is defined as a DATE item witrh a format mask 'DD-MM-RRRR'. The initial value is $$date$$ .
Can anybody give me a clue what is going wrong. Are there also some setting on the UNIX server which should be set of checked.
regards
FrancHi,
this was also the first thing i thought about. But setting NLS_LANG (AMERICAN_AMERICA.WE8ISO8859P15) to the same value of my client is no solution. Bye the way i'm using the frmcmp_batch.sh to compile.
Regards,
Geert -
How to track the information/error of java code while compiling.
Hi,
I want all the information or errors of java code during compilation.
So that I can use this information or I can show these errors with different style.
How to get the java syntax errors?Hi,
I want all the information or errors of java code
during compilation.
So that I can use this information or I can show these
errors with different style.
How to get the java syntax errors?Redirect the STDOUT/STDERR from the the JAVA/JAVAC command to a file is one way...
For instance at the commmand line:
javac myClass.java > STDOUT.txt 2> STDERR.txt (Works for Unix variants or Windows OS's)
Then you can do what ever you want with the data contained in the files.
Hope this helps -
Compiling servet.error wrong version of servet-api.jar
hi,
I try to compile the following servlet
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class ServletTemplate extends HttpServlet
public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException
PrintWriter out=response.getWriter();
But I got the follwing error.
D:\apache-tomcat-6.0.14\webapps\Raju\WEB-INF\classes>javac SevletTemplate.java
SevletTemplate.java:5: class ServletTemplate is public, should be declared in a
file named ServletTemplate.java
public class ServletTemplate extends HttpServlet
^
SevletTemplate.java:5: cannot access javax.servlet.http.HttpServlet
bad class file: D:\apache-tomcat-6.0.14\lib\servlet-api.jar(javax/servlet/http/H
ttpServlet.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 classpa
th.
public class ServletTemplate extends HttpServlet
^
2 errors
I have set CLASSPATH with servelt-api.jar.
Please help merajuchinu wrote:
class file has wrong version 49.0, should be 48.0You have compiled it with a newer javac version than the JRE version with which you're running it.
Check java -version and javac -version and align them both out to the same version. -
hi all
ive installed jdk1.4.1 from jdk1.3 .
When i try to compile a java file i get this error.
Error: invalid file 'java/lang/Object.class' (wrong version: 48, expected 45)
anyone has any idea abt this.
im stuck :( pls help.
thanks
JanDid you uninstall 1.3 completely? Completely in the sense both jdk and jre.
You may get this error if you use javac of one version and the rt.jar of another version.
Sudha -
Strange error caused by location of source during compilation
I have been trying to get KVPM from AUR ( http://aur.archlinux.org/packages.php?ID=32060 ) to build but I kept getting this error during compilation (make) http://pastebin.com/6smA3iKy
I tried all different kinds of modifications to PKGBUILD but with no success. I later realized that if I unpacked manually and tried to compile it worked, even giving a functional executable. Then I tried forcing a manual extraction of the sources in PKBUILD and I still got the same error. The only way it would compile without the error is if the sources remained outside of makepkg's default 'src' folder. Nothing else worked.
Why is this? Is this a bug in makepkg? Is there something wrong with my installation?
Here is the original PKBUILD: http://aur.archlinux.org/packages/kvpm/kvpm/PKGBUILD
and the PKBUILD that worked for me: http://aur.pastebin.com/VFXr8RJBI have been trying to get KVPM from AUR ( http://aur.archlinux.org/packages.php?ID=32060 ) to build but I kept getting this error during compilation (make) http://pastebin.com/6smA3iKy
I tried all different kinds of modifications to PKGBUILD but with no success. I later realized that if I unpacked manually and tried to compile it worked, even giving a functional executable. Then I tried forcing a manual extraction of the sources in PKBUILD and I still got the same error. The only way it would compile without the error is if the sources remained outside of makepkg's default 'src' folder. Nothing else worked.
Why is this? Is this a bug in makepkg? Is there something wrong with my installation?
Here is the original PKBUILD: http://aur.archlinux.org/packages/kvpm/kvpm/PKGBUILD
and the PKBUILD that worked for me: http://aur.pastebin.com/VFXr8RJB -
Error 8201 (Database version not available) during ODatabase() in VC++
Hello all,
I'm Beginner and i think i have a stupid problem,
when i execute under VC++ V6 SP5 (and IE 5.5 SP2) Under W98se :
OStartup();
ODatabase odb("essai","SYSTEM","manager"); // 'essai' is an existing database, no problem with sql*plus
if (!odb.IsOpen()) {
long err = odb.ErrorNumber();
char chaine[100];
sprintf(chaine,"Error n0=%ld",err);
::MessageBox(0,chaine,"DataBase",0);
Displaying 'Error n08201' : 'Database version not available' ???
PLEASE, THIS PROBLEM TURN ON MY MIND DURING ALL THIS WEEK-END AND I TEST, I RELEASE, I SEARCHE, AND NOTING...My Reponse from My Question :
It was so easy to run 'lsnrctl start'.
(Listen Module Manager).
2 days to find this.
VB doesn't work anymore.
I've executed an pre-compiled example 'login.exe' which display --> 'No Listen Module'.
Bye All. -
Asterisk error during compiling tith PKGBUILD
hi,
I have to install asterisk from AUR but giving the command makepkg (during compiling) he gives me this error...(i post the tail...)
In file included from el.h:105,
from readline.c:61:
map.h:63: error: expected specifier-qualifier-list before 'el_func_t'
map.h:77: error: expected declaration specifiers or '...' before 'el_func_t'
readline.c: In function 'rl_initialize':
readline.c:247: error: 'EL_NUM_FCNS' undeclared (first use in this function)
readline.c:247: error: (Each undeclared identifier is reported only once
readline.c:247: error: for each function it appears in.)
readline.c:247: error: 'el_map_t' has no member named 'nfunc'
readline.c:248: error: 'el_map_t' has no member named 'func'
readline.c: In function 'filename_completion_function':
readline.c:1206: warning: unused variable 'count'
readline.c: In function 'rl_bind_key':
readline.c:1609: error: 'ED_INSERT' undeclared (first use in this function)
make[2]: *** [readline.o_a] Error 1
make[1]: *** [editline/libedit.a] Error 2
make: *** [main] Error 2
==> ERRORE: Compilazione interrotta. //italian *_^
L'operazione sta per essere interrotta...
what is the problem????
ty for the help (and sorry for my english )Yes, have the same problem also here. It is strange because some people were able to compile it.
May be, a compatibility problem with the GCC or libc version ? If I can install two versions of GCC/libc together on the same machine, I'll try to compile it with an older GCC. -
Error while receivind a pdu - wrong version grrr
Hi,
I work on Solaris 8.0 and I installed SDK toolkit. I wrote my own subagent starting with the demoAgent into the toolkit.
I created X.acl and X.reg
Also, I configured into snmpdx.acl my traps exactly like I did into my X.acl
I started snmpdx in debug mode (-d 4) and from another window I started my subagent X
I receive this error from snmpdx agent:
error while receiving a pdu from hostname.164: The message has a wrong version (2)SESSIONS:
Where hostname is the name of my hostname hehe.
Any clues?
Thanks
DanielleSome playing with
http://java.sun.com/j2se/1.5.0/docs/api/java/io/StringReader.html
should get you want you want. -
I have Jdeveloper Base installation and JDK 1.5..the classpath and JAVA_HOME environment variables are set to the respective JDK1.5\bin folders. Even then when i try to make a web application, with a simple JSP page i get the following error :
Initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on CLASSPATH ..(followed by a long list of paths)
pls help,
thanksi have windows XP. i have tried to unset the class path...i get the same error.
i have JDeveloper 10g 10.1.2.
i have changed the jdev.conf file to set the Java Home to the path that contains the JDK 1.5.. -
OIM 11g install error INST-07286 mw_home has wrong version weblogic
Hi gurus,
I have been trying to install OIM 11g from past few days
1. I have installed Oracle 10.2.0.5
2.I installed weblogic 10.3.3 by downloading from Oracle website , wls1033_dev.zip
3.I ran Rcu utlity 11.1.1.3.3
4. I installed SOA 11.1.1.2.0.
I am trying to upgrade soa to 11.1.1.3.0 using ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip
It gives me error
INST-07286 Specified Oracle Middle ware home does not contain weblogic version 10.3.3 , upgrade to crrect version and then retry
It does not let me further.
Can some one please help /advise ?
Thanks,
PanduHi Gurus,
I think I found the answer.
I downloaded wrong version of weblogic
I had linux 32 , and wanted weblogic 10.3.3, So I went here ( row 3 , column 2)
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
file name = wls1033_dev.zip
well I was wrong it was not 10.3.3 or something was wrong. SOA installer did not recognise it as 10.3.3.
Who is to blame. I wasted 3 days I hope Oracle keeps right versions in its website for download.
I got the right one from edelievry
http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=11493750
and download =
Download Oracle WebLogic Server 11gR1 (10.3.3) for Linux x86 V21014-01 703M
Hope this helps some one.
Thanks! -
USMT 4 Wrong version error - MDT 2012 update 1
Hi,
we are in process of Migrating XP to windows 7, i have prepared a media using MDT 2012 update 1 and WAIK,
When i started deployment using the DVD i am getting the following error message
" The USMT Files in e:\..\..\x86\USMT4 are the wrong version. failure 9701.
When i checked in the above mentioned path i can see the USMT 4 folder with all required files inside it and i even compared the folder with USMT4 folder of c:\program files\WAIK instllation folder and i did not find any difference between them.
When i tested the deployment from the share folder by accessing (\\itd-mig\deploymentshare$) i was able to migrate without any error.
Can any one help me to find out what is the error about.
Thanks in advance.
D. Sendil KumarUgh...
ValidateCaptureLocation is a function in the Deployment Wizard, the wscript object is *not* available from within the MSHTA environment, so be careful.
Instead of:
wscript.sleep 5000
use this instead:
outility.SafeSleep 5000
Is your DHCP server slow?
Keith Garner - keithga.wordpress.com -
SSL "SSL3_GET_RECORD:wrong version number" error using Mail
I have set up an SSL proxy and I am trying to send a message through it to my mail server.
The proxy's log shows a "SSL3GETRECORD:wrong version number" error whenever Mail tries to send a SSL message.
I have been told that this error means that the proxy's certificate is using SSL3 but Mail is using a different version of SSL.
Does anyone know what version of SSL Mail uses, or how to change it to use version 3?
Thanks,
James.That's peculiar. Sounds like you're experiencing issues communicating over SSL somewhere.
Can you share some details with me? Feel free to ping me at andrl {at} microsoft.com
Some things that'll help troubleshoot:
- When and where are you seeing the error? Please provide a stack trace if you have one.
- Is your host behind a proxy that has https disabled? Is this running on Azure or somewhere else?
- What version of openssl, node.js, and documentdb client are you running?
* To find the version of openssl - run "openssl version" in a terminal.
* To find the version of node.js - run "node -v" in a terminal.
* To find the version of documentdb client - look inside the package.json for your project. -
Error in javax.resource.cci.Connection during Compilation
Hi,
I am using NW 04 to write a par for my EP.
But I encountered the following error at the line
package com.sap.nwrig.demo;
The error is as shown :
This compilation unit indirectly references the missing type javax.resource.cci.connection (typically some required class file is referencing a type outside the classpath)
Do hope anyone could help.
Thanks.
Regards,
Mike LeeHi Mike,
I guess you need to add the JCA library that contains the javax.resource.cci.Connection class to the classpath of your project. Here's how to do it (assuming you're using the NetWeaver Developer Studio):
1. Right click on your project and choose Properties.
2. Choose Java Build Path from the lefthand side tree, and then choose the Libraries tab on the right.
3. Click on the Add External JARs button and browse to the following directory: <NW_Dev_Studio_inst_dir>\eclipse\plugins\com.tssap.ext.libs.j2ee_1.3\lib
4. Select connector.jar and choose Open.
This adds the library and now the referenced type should be resolved.
Regards,
Ivo
Maybe you are looking for
-
Transfer QI stk to blocked stk with BAPI_GOODSMVT_CREATE (Error msg QA495)
Hy, I would like to create an mass udpate stock program which transfer the QI stock to blocked (because shelf expiration date is passed). So, i use the BAPI_GOODSMVT_CREATE with movement type 350. But the following error message appears : "Change th
-
Ipod touch factory reset error, now won't respond
I was resetting my Ipod touch 2g to factory settings, selected not to back up old info, and halfway through the restore itunes gave me an error message and quit the restore. Now my Ipod is stuck on the 'connect to itunes' screen, which it will not le
-
How To ADD Child inside the childe in XML File
I want to write setting file using XML toolkit. in that I am facing proble to add child in side the child. Please Guide me to resilve this problem. Thanks Prabhakant Patil Regards Prabhakant Patil Solved! Go to Solution.
-
Unable to update new carrier setting
unable to update new carrier setting for iPhone 3G, it says error occurred (0xE8000001)
-
Can mpls support multicast?
Hi, Can mpls support multicast packets? Meaning, can multicast packets be sent to destinations over mpls network? If so, how does it work? I read in this forum somewhere that someone mentioned mpls and multicast can co-eixt. What exactly does it mean