Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » open up faces-config.xml throws exception
open up faces-config.xml throws exception [message #613866] Tue, 07 August 2007 19:29
Marius Adamut is currently offline Marius AdamutFriend
Messages: 2
Registered: July 2009
Junior Member
I'm getting this exception when trying to open faces-config.xml:

!ENTRY org.eclipse.core.jobs 4 2 2007-08-07 12:12:09.571
!MESSAGE An internal error occurred during: ""Loading faces-config model"".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95)
at
org.eclipse.jst.jsf.facesconfig.ui.ModelLoader$ModelLoaderJo b.loadModel(ModelLoader.java:165)
at
org.eclipse.jst.jsf.facesconfig.ui.ModelLoader$ModelLoaderJo b.run(ModelLoader.java:122)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

It started happening after I switched to Eclipse 3.3 with WTP 2.0

I've noticed the problem is caused by the fact that in the
..settings/org.eclipse.wst.common.component file in the following line:
<wb-resource deploy-path="/" source-path="/x/y"/> the source-path attribute
is a subdirectory. If I have use this:
<wb-resource deploy-path="/" source-path="/x"/> then I get no problem.

Did anybody encouter this problem? Is this the normal behaviour?

Thanks,

Marius.
Previous Topic:Faces Config editor
Next Topic:Servlet FacesServlet Exception
Goto Forum:
  


Current Time: Sun Sep 22 22:46:47 GMT 2024

Powered by FUDForum. Page generated in 0.03047 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top