- This topic has 3 replies, 2 voices, and was last updated 14 years, 5 months ago by support-joy.
-
AuthorPosts
-
jeffclarkeMemberI’m very new to MyEclipse and was going through one of the simple JSF tutorials to create a simple Login page and when I went to run it, I received the errors below. I then tried to just start the Tomcat server and notice it would not even start.
My environment is:
O/S: Windows XP Sp3
Current version of MyEclipse 8.5-20100319
MyEclipse Tomcat 6
Sun JDK 1.6.0_13What do I need to do here?
java.lang.NoClassDefFoundError: Downloads\Microsoft
Caused by: java.lang.ClassNotFoundException: Downloads\Microsoft
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Exception in thread “main” [/code]
support-joyMemberJeff,
I think you are referencing a 3rd party jar which you have not added to your classpath. This could be a possible cause of the issue you are seeing. To investigate this issue further, can you answer below queries –
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
2. Open MyEclipse > Examples on Demand. This will open Examples on Demand browser. Try to install any JSF sample project for e.g MyBlogJSFJPAExample by clicking on [Install Project]. Next expand this project under package explorer and go through README.txt which contains details about the project. Try to run the sample using both the sandbox tomcat which is prepackaged with MyEclipse and also Tomcat 6
Let me know if you are able to run the same. This will help eliminate if the issue is in the sample JSP app created by you or Tomcat 6. In case you are not able to run the same on Tomcat 6, please attach screenshot of Window > Preferences > MyEclipse > Servers > Tomcat > Tomcat 6 and JDK. This will help me get a visual.
jeffclarkeMemberHi Joy,
I do know that when I first installed MyEclipse, I also downloaded and installed Microsoft’s sqljdbc4.jar – but am not using it in this example.
As I mentioned, I get the error in my original posting just trying to start the integrated Tomcat server from the Servers tab on the Workbench perspective.
Here are the Installation Details (I’ll send you another email with the screen shots, I’ve yet to figure out how to add images to phpBB.
Hope this helps.
*** Date:
Monday, June 7, 2010 8:05:32 AM CDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.5
Build id: 8.5-20100319Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 8.5\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse 8.5
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
support-joyMemberJeffrey,
Thank you for the details. I would also like to acknowledge receipt of screenshot.
Best.
-
AuthorPosts