Oracle DataBase Connectivity

73 views
Skip to first unread message

Amit Ughade

unread,
Mar 22, 2012, 4:25:03 AM3/22/12
to Google Web Toolkit
Hi,

I just got error message while creating database connectivity program.
I already given reference of external ojdbc14.jar file.

[DEBUG] [mydatabase] - Validating newly compiled units
[TRACE] [mydatabase] - Finding entry point classes
[ERROR] [mydatabase] - Errors in 'file:/C:/Users/aughade/workspace/
MyDataBase/src/com/google/MyDataBase/client/MyDataBase.java'
[ERROR] [mydatabase] - Line 40: No source code is available for type
java.sql.Connection; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 42: No source code is available for type
java.sql.Statement; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 44: No source code is available for type
java.sql.ResultSet; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 87: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
[ERROR] [mydatabase] - Errors in 'file:/C:/Users/aughade/workspace/
MyDataBase/src/com/google/MyDataBase/client/MyConnection.java'
[ERROR] [mydatabase] - Line 5: No source code is available for type
java.sql.Connection; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 10: The method forName(String) is
undefined for the type Class
[ERROR] [mydatabase] - Line 11: No source code is available for type
java.sql.DriverManager; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 14: No source code is available for type
java.lang.ClassNotFoundException; did you forget to inherit a required
module?
[ERROR] [mydatabase] - Line 18: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
[ERROR] [mydatabase] - Unable to find type
'com.google.MyDataBase.client.MyDataBase'
[ERROR] [mydatabase] - Hint: Previous compiler errors may have made
this type unavailable
[ERROR] [mydatabase] - Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may not
be adding its source path entries properly
[ERROR] [mydatabase] - Failed to load module 'mydatabase' from user
agent 'Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/
9.0.1' at 127.0.0.1:56905
[DEBUG] [mydatabase] - Validating newly compiled units
[TRACE] [mydatabase] - Finding entry point classes
[ERROR] [mydatabase] - Errors in 'file:/C:/Users/aughade/workspace/
MyDataBase/src/com/google/MyDataBase/client/MyDataBase.java'
[ERROR] [mydatabase] - Line 40: No source code is available for type
java.sql.Connection; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 42: No source code is available for type
java.sql.Statement; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 44: No source code is available for type
java.sql.ResultSet; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 87: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
[ERROR] [mydatabase] - Errors in 'file:/C:/Users/aughade/workspace/
MyDataBase/src/com/google/MyDataBase/client/MyConnection.java'
[ERROR] [mydatabase] - Line 5: No source code is available for type
java.sql.Connection; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 10: The method forName(String) is
undefined for the type Class
[ERROR] [mydatabase] - Line 11: No source code is available for type
java.sql.DriverManager; did you forget to inherit a required module?
[ERROR] [mydatabase] - Line 14: No source code is available for type
java.lang.ClassNotFoundException; did you forget to inherit a required
module?
[ERROR] [mydatabase] - Line 18: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
[ERROR] [mydatabase] - Unable to find type
'com.google.MyDataBase.client.MyDataBase'
[ERROR] [mydatabase] - Hint: Previous compiler errors may have made
this type unavailable
[ERROR] [mydatabase] - Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may not
be adding its source path entries properly
[ERROR] [mydatabase] - Failed to load module 'mydatabase' from user
agent 'Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/
9.0.1' at 127.0.0.1:56906
**********************************************************************************************************************
13:50:22.803 [ERROR] [mydatabase] Line 40: No source code is available
for type java.sql.Connection; did you forget to inherit a required
module?



please help me to fix it.

Patrick Tucker

unread,
Mar 30, 2012, 1:36:38 PM3/30/12
to google-we...@googlegroups.com
Are you trying to connect to the database server from the browser??
Reply all
Reply to author
Forward
0 new messages