|
|
|
|
Re: Error while trying to create JavaServer Faces project [message #832684 is a reply to message #832206] |
Fri, 30 March 2012 12:52 |
|
On 3/29/2012 4:45 PM, Alex Averbuch wrote:
> Hi,
> 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!
>
> [snip]
>
> 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
> )
>
>
> Any ideas?
>
> Regards,
> Alex
You might have SWT set up for another project, but understand that it's
not going to be helpful with JSF. I have some notes on JSF if you'd like
them. Ask me for them off-line, especially if you're pulling your hair
out over JAR nightmares. Also, I think http://www.vogella.de has got a
good JSF tutorial that may still work.
|
|
|
|
Re: Error while trying to create JavaServer Faces project [message #832743 is a reply to message #832699] |
Fri, 30 March 2012 14:21 |
|
On 3/30/2012 7:27 AM, Alex Averbuch wrote:
> Quote:
>> You might have SWT set up for another project, but understand that
>> it's not going to be helpful with JSF. I have some notes on JSF if
>> you'd like them. Ask me for them off-line, especially if you're
>> pulling your hair out over JAR nightmares. Also, I think vogella has
>> got a good JSF tutorial that may still work.
>
> Thanks Russel,
> I'm actually working my way through the Vogella JSF tutorial right now.
>
> I've solved this issue now. The solution is posted in the SWT forum, but
> in short I just had to install the necessary package in Ubuntu
> (xulrunner-1.9.2).
>
> Another thing, I *am* having JAR nightmares right now and I've created a
> thread about it in another forum: "Eclipse Projects -> JavaServer Faces
> -> Maven + JSF = ClassNotFoundException -
> javax.servlet.jsp.jstl.core.Config"
> (I can't link to it as forum members with fewer than 25 posts are not
> able to put links in posts).
>
> If you think you could help, please visit that thread and let me know
> what you think.
>
> Thanks again,
> Alex
If you're using Maven, my work is of little help. I don't like any of
the existing archetypes and what it forces me to live with in terms of
project organization. (I prefer, for instance, the default layout of the
Eclipse Dynamic Web Project without all that extra subdirectory overhead
Maven archetypes insist on adding in imitation of old, traditional
Java.) I use Ivy + ant and am much happier with them.
Best of luck.
|
|
|
|
Re: Error while trying to create JavaServer Faces project [message #832763 is a reply to message #832751] |
Fri, 30 March 2012 14:55 |
|
On 3/30/2012 8:39 AM, Alex Averbuch wrote:
> My question is not really Maven specific, it is more:
> "How can I tell Eclipse to look for libraries in the Ivy/Ant/Maven
> libraries?"
>
> The problem I have right now is that all of my dependencies are in fact
> in the Maven library, but my .jsp files can not see them for some
> reason. For example, in my .jsp file I get the error: "Unknown tag
> (f:view)."
At the risk of wasting your time and/or boring you, go to
http://www.javahotchocolate.com and quickly peruse the four articles on
RichFaces and faceletes under the heading "Other tutorials". It was when
I began to write these that I was in the throes of abandoning Maven for
good.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04396 seconds