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?
This is definitely not expected behaviour. It appears as though the web
content folder doesn't exist even though the project is faceted as a
dynamic web project.
Would it be possible to open a bug and either post the project that is
failing as an attachment or post a simple project that reproduces the
problem?
This is due to a bug
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=199304). Currently, the
"WebContent" folder is incorrectly assumed to be a direct child of the
project folder (i.e. it cannot be nested deeper than one level for certain
functionality to work correctly).
I apologize for the inconvenience, and I thank you for bringing it to our
attention.
This is definitely not expected behaviour. It appears as though the web
content folder doesn't exist even though the project is faceted as a
dynamic web project.
Would it be possible to open a bug and either post the project that is
failing as an attachment or post a simple project that reproduces the
problem?
This is due to a bug
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=199304). Currently, the
"WebContent" folder is incorrectly assumed to be a direct child of the
project folder (i.e. it cannot be nested deeper than one level for certain
functionality to work correctly).
I apologize for the inconvenience, and I thank you for bringing it to our
attention.