Hallo!
Ich habe Probleme die HBCI-Sources zu verwenden. Wenn ich die HBCI4Java.jar in mein Projekt einbinde, dann kann ich alles normal nutzen. Mir ist es aber wirchtig, dass ich mit den Source-Dateien arbeiten kann und nicht nur mit den .class Dateien. Sobald ich allerdings alle Sources in ein Projekt einbinde und dann bspw. die AnalyzeReportsofTransaction.java starten möchte(und natürlich vorher die Properties ausgetauscht habe), dann bekomme ich folgenden Fehler:
Exception in thread "main" org.kapott.hbci.exceptions.HBCI_Exception: *** error while initializing HBCI4Java
at org.kapott.hbci.manager.HBCIUtils.init(HBCIUtils.java:575)
at org.kapott.hbci.tools.AnalyzeReportOfTransactions.main(AnalyzeReportOfTransactions.java:99)
Caused by: org.kapott.hbci.exceptions.HBCI_Exception: *** could not init HBCI4Java for thread group main
at org.kapott.hbci.manager.HBCIUtils.initThread(HBCIUtils.java:694)
at org.kapott.hbci.manager.HBCIUtils.init(HBCIUtils.java:567)
... 1 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.kapott.hbci.resources.HBCIMessages, locale de_DE
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
at org.kapott.hbci.manager.HBCIUtils.initLocale(HBCIUtils.java:803)
at org.kapott.hbci.manager.HBCIUtils.initThread(HBCIUtils.java:688)
... 2 more
Caused by: java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:111)
at org.kapott.hbci.resources.HBCIMessages.<init>(HBCIMessages.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2389)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
... 5 more
Java Result: 1
Warum funktioniert das nicht und vor allem wie kann ich es zum laufen bekommen, ohne die HBCI4Java.jar zu verwenden?
Besten Dank!
Lothium
Ich habe Probleme die HBCI-Sources zu verwenden. Wenn ich die HBCI4Java.jar in mein Projekt einbinde, dann kann ich alles normal nutzen. Mir ist es aber wirchtig, dass ich mit den Source-Dateien arbeiten kann und nicht nur mit den .class Dateien. Sobald ich allerdings alle Sources in ein Projekt einbinde und dann bspw. die AnalyzeReportsofTransaction.java starten möchte(und natürlich vorher die Properties ausgetauscht habe), dann bekomme ich folgenden Fehler:
Code
Exception in thread "main" org.kapott.hbci.exceptions.HBCI_Exception: *** error while initializing HBCI4Java
at org.kapott.hbci.manager.HBCIUtils.init(HBCIUtils.java:575)
at org.kapott.hbci.tools.AnalyzeReportOfTransactions.main(AnalyzeReportOfTransactions.java:99)
Caused by: org.kapott.hbci.exceptions.HBCI_Exception: *** could not init HBCI4Java for thread group main
at org.kapott.hbci.manager.HBCIUtils.initThread(HBCIUtils.java:694)
at org.kapott.hbci.manager.HBCIUtils.init(HBCIUtils.java:567)
... 1 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.kapott.hbci.resources.HBCIMessages, locale de_DE
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
at org.kapott.hbci.manager.HBCIUtils.initLocale(HBCIUtils.java:803)
at org.kapott.hbci.manager.HBCIUtils.initThread(HBCIUtils.java:688)
... 2 more
Caused by: java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:111)
at org.kapott.hbci.resources.HBCIMessages.<init>(HBCIMessages.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2389)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
... 5 more
Java Result: 1
Warum funktioniert das nicht und vor allem wie kann ich es zum laufen bekommen, ohne die HBCI4Java.jar zu verwenden?
Besten Dank!
Lothium