[aspectwerkz-dev] AW 1.0 beta 1.0 ClassLoaders and aspectwerkz.xml
-×× R A T Ø ××- <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonas and Alex,
I´ve been using AW1.0 beta 1 with Java Web Start and I found some problems
with aspectwerkz.xml and ClassLoaders.
First problem is that with Java Web Start the only way to send an file to
client is throught a jar file, so, I put the aspectwerkz.xml in my jar file,
but aspectwerkz doesn´t find it, or if it finds, the DefinitionLoader loads
the file (File file = new File("file:c:/<path>/myjar.jar!aspectwerkz.xml"))
and throws an exception, because the path to aspectwerkz.xml corresponds to
an URL not to a file. It will be good if aspectwerkz works with URL.
The second problem is that using Java Web Start, I got NoClassDefFoundError
for CFlowSystemAspect. I don´t know why the loader used (AppClassLoader)
can´t find the that class.
Regards,
Allan Jones