on 08-31-2006 6:30 AM
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.