axelvondreden / dms

Apache License 2.0
3 stars 2 forks source link

Update 0.0.3 Install Error #9

Closed HeyDennis closed 5 years ago

HeyDennis commented 5 years ago
c:\Users\hans_wurst\Downloads\dms(1)>java -jar ./dms-0.0.3.jar
     _
  __| | _ __ ___   ___
 / _` || '_ ` _ \ / __|
| (_| || | | | | |\__ \
 \__,_||_| |_| |_||___/

2019-10-10 11:47:55.338  INFO 15408 --- [           main] com.dude.dms.Application                 : Starting Application v0.0.3 on NB35075 with PID 15408 (C:\Users\hans_wurst\Downloads\dms(1)\dms-0.0.3.jar started by hans_wurst in c:\Users\hans_wurst\Downloads\dms(1))
2019-10-10 11:47:55.343  INFO 15408 --- [           main] com.dude.dms.Application                 : No active profile set, falling back to default profiles: default
2019-10-10 11:47:56.203  INFO 15408 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-10-10 11:47:56.317  INFO 15408 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 102ms. Found 6 repository interfaces.
2019-10-10 11:47:56.920  INFO 15408 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e4457fbf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-10-10 11:47:58.241  INFO 15408 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8888 (http)
2019-10-10 11:47:58.276  INFO 15408 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-10-10 11:47:58.277  INFO 15408 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.22]
2019-10-10 11:47:58.436  INFO 15408 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-10-10 11:47:58.436  INFO 15408 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2990 ms
2019-10-10 11:47:59.146  INFO 15408 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2019-10-10 11:47:59.456  INFO 15408 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2019-10-10 11:47:59.546  INFO 15408 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2019-10-10 11:47:59.666  INFO 15408 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.4.4.Final}
2019-10-10 11:47:59.910  INFO 15408 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2019-10-10 11:48:00.482  INFO 15408 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019-10-10 11:48:01.861  INFO 15408 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-10-10 11:48:01.865  INFO 15408 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-10-10 11:48:01.884 ERROR 15408 --- [           main] com.dude.dms.backend.brain.BrainUtils    : options.properties (Das System kann die angegebene Datei nicht finden)
2019-10-10 11:48:01.889 ERROR 15408 --- [           main] c.d.d.b.brain.polling.DocPollingService  : docs_in
2019-10-10 11:48:01.891 ERROR 15408 --- [           main] com.dude.dms.backend.brain.BrainUtils    : options.properties (Das System kann die angegebene Datei nicht finden)
2019-10-10 11:48:03.172  INFO 15408 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2019-10-10 11:48:03.235  WARN 15408 --- [           main] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2019-10-10 11:48:03.610  INFO 15408 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'taskScheduler'
2019-10-10 11:48:03.813  INFO 15408 --- [   scheduling-1] c.d.d.b.brain.polling.DocPollingService  : Polling docs_in/ for PDFs...
2019-10-10 11:48:03.847  INFO 15408 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8888 (http) with context path ''
2019-10-10 11:48:03.849  INFO 15408 --- [           main] com.dude.dms.Application                 : Started Application in 8.985 seconds (JVM running for 9.588)
2019-10-10 11:48:03.852  INFO 15408 --- [           main] com.dude.dms.StartUpRunner               : Creating user properties...
2019-10-10 11:48:03.853  INFO 15408 --- [           main] com.dude.dms.StartUpRunner               : Creating input directory new docs docs_in
2019-10-10 11:48:03.854  INFO 15408 --- [           main] com.dude.dms.StartUpRunner               : Creating directory for saved docs docs
2019-10-10 11:48:04.238  INFO 15408 --- [           main] com.dude.dms.StartUpRunner               : Creating demo docs...
java.nio.file.NoSuchFileException: lipsum.txt
        at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
        at java.nio.file.Files.newByteChannel(Unknown Source)
        at java.nio.file.Files.newByteChannel(Unknown Source)
        at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
        at java.nio.file.Files.newInputStream(Unknown Source)
        at java.nio.file.Files.newBufferedReader(Unknown Source)
        at java.nio.file.Files.lines(Unknown Source)
        at com.dude.dms.StartUpRunner.createDemoData(StartUpRunner.java:98)
        at com.dude.dms.StartUpRunner.run(StartUpRunner.java:52)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:780)
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:764)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:319)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)
        at com.dude.dms.Application.main(Application.java:27)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
2019-10-10 11:48:04.250  INFO 15408 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-10-10 11:48:04.259 ERROR 15408 --- [           main] o.s.boot.SpringApplication               : Application run failed

java.lang.IllegalStateException: Failed to execute CommandLineRunner
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:783) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:764) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        at com.dude.dms.Application.main(Application.java:27) [classes!/:0.0.3]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_191]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_191]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_191]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [dms-0.0.3.jar:0.0.3]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [dms-0.0.3.jar:0.0.3]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [dms-0.0.3.jar:0.0.3]
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [dms-0.0.3.jar:0.0.3]
Caused by: java.lang.IllegalArgumentException: bound must be positive
        at java.util.Random.nextInt(Unknown Source) ~[na:1.8.0_191]
        at com.dude.dms.StartUpRunner.createDemoData(StartUpRunner.java:112) ~[classes!/:0.0.3]
        at com.dude.dms.StartUpRunner.run(StartUpRunner.java:52) ~[classes!/:0.0.3]
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:780) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
        ... 13 common frames omitted

2019-10-10 11:48:04.263  INFO 15408 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
2019-10-10 11:48:04.267  INFO 15408 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
2019-10-10 11:48:04.271  INFO 15408 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-10-10 11:48:04.274  INFO 15408 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2019-10-10 11:48:04.292  INFO 15408 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
axelvondreden commented 5 years ago

dann muss ich das wohl auch mit rein packen. lipsum.txt ^ die Datei in den Ordner legen und den db ordner löschen. dann nochmal starten

HeyDennis commented 5 years ago

geht trotzdem net...

HeyDennis commented 5 years ago

geht doch