While trying to add driver,url information and submitting
the info.. it gives an error
I have mssqlserver.jar in the classpath and also
rowset.jar
[ 65174] ERROR - com.intellij.ide.o - Error
during dispatching of java.awt.event.MouseEvent
[MOUSE_RELEASED,(611,284),b
utton=1,modifiers=Button1,clickCount=1] on frame0
[ 65174] ERROR - com.intellij.ide.o - IntelliJ
IDEA (Ariadna) 3.0 Build #651
[ 65184] ERROR - com.intellij.ide.o - JDK:
1.4.0_01
[ 65184] ERROR - com.intellij.ide.o - VM: Java
HotSpot(TM) Client VM
[ 65184] ERROR - com.intellij.ide.o - Vendor:
Sun Microsystems Inc.
[ 65184] ERROR - com.intellij.ide.o - OS:
Windows 2000
[ 65184] ERROR - com.intellij.ide.o -
java.lang.NoClassDefFoundError:
com/microsoft/jdbc/base/BaseDriver
at java.lang.ClassLoader.defineClass0(Native
Method)
at java.lang.ClassLoader.defineClass
(ClassLoader.java:509)
at java.lang.ClassLoader.defineClass
(ClassLoader.java:438)
at com.intellij.ide.b.a.a.a(a.java:4)
at com.intellij.ide.b.a.a.findClass(a.java:1)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:322)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at
net.plugin.sql.util.JDBCConnectionManager.getConnectio
n(JDBCConnectionManager.java:25)
at
net.plugin.sql.util.DataSourceManager.addDataSource
(DataSourceManager.java:50)
at
net.plugin.sql.gui.SQLConnectionCreatorFrame.actionPe
rformed(SQLConnectionCreatorFrame.java:94)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.action
Performed(AbstractButton.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleas
ed(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent
(Component.java:5021)
at java.awt.Component.processEvent
(Component.java:4818)
at java.awt.Container.processEvent
(Container.java:1525)
at java.awt.Component.dispatchEventImpl
(Component.java:3526)
at java.awt.Container.dispatchEventImpl
(Container.java:1582)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3359)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3074)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3004)
at java.awt.Container.dispatchEventImpl
(Container.java:1568)
at java.awt.Window.dispatchEventImpl
(Window.java:1581)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:445)
at com.intellij.ide.o.a(o.java:72)
at com.intellij.ide.o.dispatchEvent(o.java:43)
at
java.awt.EventDispatchThread.pumpOneEventForHierarc
hy(EventDispatchThread.java:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)
Logged In: YES
user_id=162865
One of the common things I have seen is people add to
their classpath at the bottom of the classes in the startup
script. Make sure you have pointed to the
idea_home/lib/driver.jar , and not java_home. Please
check to make sure that is the case first. The error you are
having fits that profile exactly.