JAVA ERROR-URGENT: java.lang.ClassFormatError: oracle/jdbc/ttc7/TTC7Protocol

Joined
Feb 25, 2008
Messages
1
Reaction score
0
Hi all,

I am very new to java and facing a very strange issue.

I have written some code in java to connect to oracle database. The problem is that when I run the code in eclipse it runs fine with desired results but when create a FAt jar of the code and execute that jar then it gives me the below error:

java.lang.ClassFormatError: oracle/jdbc/ttc7/TTC7Protocol (Code segment has wrong length)
and some more lines---------------------

Well I am totally confused why its coming.
I am connecting to databases with load balancer. maube that's causing problem. Iam making connection through jdbc thin driver.

So, can you please guide me how to resolve this issue? its really urgent....:-(
or can you guide me how to connect to database with loadbalancer......any driver etc.

Plz reply..
Thanks.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top