|SWT error while trying to create JavaServer Faces project [message #832488]
||Fri, 30 March 2012 03:54
| Alex Averbuch
Registered: March 2012
FYI, I also posted this in the "Web Tools Project (WTP)" forum, as I wasn't sure which one to place the issue in.
I'm currently learning how to develop JavaServer Faces web applications, using Eclipse. To do so I'm following a tutorial (as I've posted less than 25 comments, I can't share the link to the tutorial in this thread).
However, Eclipse gives me an error when I try to create a JavaServer Faces project.
Any/all help in resolving this is greatly appreciated!
Here's what I did:
(1) File->New->Dynamic Web Project
(2) On "Dynamic Web Project" page
Project name: "JSFProject"
Configuration: JavaServer Faces V2.0 Project
(3) On "Java" page
(4) On "Web Module" page
<select> "Generate web.xml deployment descriptor"
(5) On "JSF Capabilities" page
Because this is the first time I'm creating a JSF project, I need to install/download a JSF implementation.
<press> "Download library..."
(6) After pressing the "Download library..." button I get this error:
Unhandled event loop exception
No more handles [MOZILLA_FIVE_HOME='/usr/lib64/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
Can't load /opt/eclipse/eclipse_v3.6.2/configuration/org.eclipse.osgi/bundles/151/1/.cp/libswt-mozilla-gtk-3659.so
no swt-mozilla-gtk in java.library.path
Can't load library: /tmp/swtlib-64/libswt-mozilla-gtk-3659.so
Can't load library: /tmp/swtlib-64/libswt-mozilla-gtk.so
Powered by FUDForum
. Page generated in 0.01746 seconds