This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 10514 - Cannot put the J2EE.jar file into the classpath.
Summary: Cannot put the J2EE.jar file into the classpath.
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-20 16:23 UTC by Chadwick M. Baatz
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chadwick M. Baatz 2001-03-20 16:23:44 UTC
I have tried to enter the J2EE.jar file into the class path by placing the file 
in the \lib\ext directory.  When I do this I am no longer able to do any work 
with the JSP module.  I am wondering if this is because of the javax.servlet 
package.  I know of one simple solution which is to mount the jar file in my 
explorer.  I am also working on creating an image for all Java programmers, so 
it would be great if I could work this into the classpath.

Thanks
Comment 1 Svata Dedic 2001-03-20 16:54:08 UTC
What does "not able to do any work" mean ? Are there some exceptions ? Can you
attach their stacktraces ? Any strange behaviour/messages ?
Comment 2 Chadwick M. Baatz 2001-03-20 19:57:21 UTC
The error message is:

*********** Exception occurred ************
Tue Mar 20 14:51:18 EST 2001java.lang.IncompatibleClassChangeError: null
Exception occurred in Request Processor
java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
	at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:111)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	at org.netbeans.modules.web.core.jsploader.JspLoader.createMultiObject
(JspLoader.java:118)
	at org.openide.loaders.MultiFileLoader.handleFindDataObject
(MultiFileLoader.java:63)
	at org.openide.loaders.DataObjectPool.callHandleFind
(DataObjectPool.java:79)
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:131)
	at org.openide.loaders.DataLoaderPool.findDataObject
(DataLoaderPool.java:359)
	at org.openide.loaders.FolderList.createBoth(FolderList.java:487)
	at org.openide.loaders.FolderList.getObjects(FolderList.java:310)
	at org.openide.loaders.FolderList.access$200(FolderList.java:40)
	at org.openide.loaders.FolderList$ListTask.run(FolderList.java:625)
	at org.openide.util.Task.run(Task.java:124)
	at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:562)
org.openide.util.RequestProcessor$Holder(task 
org.openide.loaders.FolderList$ListTask@1875d1 [-40, 6])
	at org.openide.util.RequestProcessor$Task.createHolder
(RequestProcessor.java:275)
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:99)
	at org.openide.loaders.FolderList.getChildrenList(FolderList.java:131)
	at org.openide.loaders.FolderList.computeChildrenList
(FolderList.java:123)
	at org.openide.loaders.DataFolder.computeChildrenList
(DataFolder.java:272)
	at org.openide.loaders.FolderChildren.initialize
(FolderChildren.java:195)
	at org.openide.loaders.FolderChildren.addNotify(FolderChildren.java:172)
	at org.openide.nodes.Children.callAddNotify(Children.java:297)
	at org.openide.nodes.ChildrenArray.create(ChildrenArray.java:51)
	at org.openide.nodes.Children.getArray(Children.java:326)
	at org.openide.nodes.Children.computeNodes(Children.java:316)
	at org.openide.nodes.Children$2.run(Children.java:254)
	at org.openide.util.Mutex.readAccess(Mutex.java:153)
	at org.openide.nodes.Children.getNodes(Children.java:252)
	at org.openide.nodes.FilterNode$1.run(FilterNode.java:901)
	at org.openide.util.Mutex.leave(Mutex.java:554)
	at org.openide.util.Mutex.readAccess(Mutex.java:155)
	at org.openide.explorer.view.VisualizerNode.getChildren
(VisualizerNode.java:139)
	at org.openide.explorer.view.MenuView$Menu.nodesChanged
(MenuView.java:291)
	at org.openide.explorer.view.MenuView$Menu.access$600(MenuView.java:180)
	at 
org.openide.explorer.view.MenuView$Menu$Listener.popupMenuWillBecomeVisible
(MenuView.java:408)
	at javax.swing.JPopupMenu.firePopupMenuWillBecomeVisible
(JPopupMenu.java:512)
	at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:607)
	at javax.swing.JPopupMenu.show(JPopupMenu.java:737)
	at org.openide.awt.JMenuPlus.setPopupMenuVisible(JMenuPlus.java:48)
	at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1084)
	at javax.swing.MenuSelectionManager.setSelectedPath
(MenuSelectionManager.java:84)
	at javax.swing.plaf.basic.BasicMenuUI$PostAction.actionPerformed
(BasicMenuUI.java:259)
	at javax.swing.Timer.fireActionPerformed(Timer.java:150)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:108)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
	at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 3 Svata Dedic 2001-03-21 07:55:24 UTC
I have to set the bug as invalid:
You are modifying IDE's execution claasspath by putting j2ee.jar into
%installdir%/lib/ext. While this may work in some cases, since JSP module seems
to be compiled against different set of classes, you have redefined them in
incompatible way.
If you need to have some JAR in the classpath for your development, then please
mount it in File Systems. If you don't want to bother users with it, then set
its "Hidden" property to True (it will only be shown in Project Settings | File
systems after that). Mounting it automatically adds the archive to compiler
paths and to the execution classpath as well.

[as always, if you are not happy with the resolution/suggestions, reopen the bug
and/or start a thread on a mailing list]
Comment 4 Quality Engineering 2003-07-01 13:12:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 13:17:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.