Are you trying to connect to the database server from the browser?? On Thursday, March 22, 2012 4:25:03 AM UTC-4, Amit Ughade wrote:
> 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. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sDXxs33TC7UJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
