cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I Run A SQLJ Normal Project In SAP NWDS

Former Member
0 Kudos

I have a question about SQLJ in SAP NWDS.

1.I created a java dictionary project,and then create the table , then depoly it.it's ok.

2.I created a java normal project including the above java dictionary project.

3.I used the SQLJ tech in the java normal project,exporting the opensqllib.jar,sqljapi.jar,sqljc.jar,sqljimpl.jar.

4.I coded the normal project,and export the project .jar,everything is ok.

<b>5.But when i runed the project in NWDS,the error appeared:java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException

at com.ezkj.deom.sqlj.MainApp.main(MainApp.java:21)

Exception in thread "main"</b>

How Can I Run A SQLJ Normal Project In SAP NWDS?

PLS Help me and don't let me alone!

Accepted Solutions (0)

Answers (1)

Answers (1)

SRudra
Contributor
0 Kudos

Tony,

Why not try to import your SQLJ project in SAP NWDS. Add all the jars mentioned to the project path both for compile time as well as runtime. Now try running he project. Once you are able to bypass java.lang.NoClassDefFoundError, you will get other errors related to SQL statements. These Oracle SQL statements needs to be converted to OpenSQL format.

Chill out!!!

Sukanta Rudra

Note: If helpful, plz donate some points.