XML: No embedded stylesheet instruction for file: [message #687567] |
Wed, 22 June 2011 14:41  |
Eclipse User |
|
|
|
Hi,
I am having trouble adding an XML resource file to eclipse. I need to add an XML file for Spring BeanFactory, not sure what the best way to do this is.
Right now, I simply have a file "context.xml" added to my Eclipse Java project's main package. The problem is, whenever I compile the project, I see this error:
14:35:08,640 FATAL [main] Main - No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73)
Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
... 2 more
It wants a STYLESHEET for my XML File!?!? How do I get around this issue?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04977 seconds