Hi,
running standalone-sample (Boot class) from 'apache/openwebbeans'
repository succeeds:
[FINE ] Adding resolved EL beans with key
[apache.openwebbeans.OwbInternalConversationStorageBean] to cache.
[INFO ] OpenWebBeans Container is starting...
[FINE ] PluginLoader startUp called.
[FINE ] Scanning classpaths for beans artifacts.
[INFO ] added beans archive URL:
file:/E:/!Projects/Java/!Eclipse-WS/ApacheWBeans/bin/META-INF/beans.xml
[FINE ] Deploying scanned beans.
[FINE ] Creating AnnotatedTypes from class files has started.
[FINE ] Deploying configurations from XML files has started.
[FINE ] OpenWebBeans BeansDeployer configuring:
file:/E:/!Projects/Java/!Eclipse-WS/ApacheWBeans/bin/META-INF/beans.xml
[FINE ] Deploying configurations from XML has ended successfully.
...............................................................
...and the login frame finally pops up
but debugging the same Boot class fails:
[FINE ] Adding resolved EL beans with key
[apache.openwebbeans.OwbInternalConversationStorageBean] to cache.
[INFO ] OpenWebBeans Container is starting...
[FINE ] PluginLoader startUp called.
[FINE ] Scanning classpaths for beans artifacts.
[INFO ] added beans archive URL:
file:/E:/!Projects/Java/!Eclipse-WS/ApacheWBeans/bin/META-INF/beans.xml
[INFO ] added beans archive URL:
jar:file:/E:/!IDE/Eclipse-JEE/configuration/org.eclipse.osgi/421/0/.cp/lib/javaagent-shaded.jar!/
Exception in thread "main"
org.apache.webbeans.exception.WebBeansDeploymentException:
java.lang.IllegalStateException: java.io.FileNotFoundException: E:\
(The system cannot find the path specified)
at
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:181)
at
org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:131)
at
org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:103)
at org.apache.webbeans.se.sample.Boot.boot(Boot.java:42)
at org.apache.webbeans.se.sample.Boot.main(Boot.java:50)
Caused by: java.lang.IllegalStateException:
java.io.FileNotFoundException: E:\ (The system cannot find the path
specified)
at
org.apache.xbean.finder.archive.JarArchive.<init>(JarArchive.java:59)
at
org.apache.xbean.finder.archive.ClasspathArchive.archive(ClasspathArchive.java:66)
at
org.apache.webbeans.corespi.scanner.xbean.CdiArchive.<init>(CdiArchive.java:67)
at
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.initFinder(AbstractMetaDataDiscovery.java:137)
at
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:177)
... 4 more
Caused by: java.io.FileNotFoundException: E:\ (The system cannot
find the path specified)
at java.base/java.io.RandomAccessFile.open0(Native Method)
at
java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:346)
at
java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:260)
at
java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1326)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1292)
at
java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:710)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:345)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:316)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:255)
at
org.apache.xbean.finder.archive.JarArchive.<init>(JarArchive.java:57)
... 8 more
i wonder what's wrong with debugging! there is nothing interesting for
standalone-sample outside of it's project folder
'E:/!Projects/Java/!Eclipse-WS/ApacheWBeans', why 'E:/!IDE...'?!!!
guys, how to debug, finally?
thanks!