You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project digitalsky-api: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
Here is the full error stack:
2019-08-28 11:46:31.941 INFO 11408 --- [ main] com.ispirit.digitalsky.Application : Starting Application on DESKTOP-S2P3R4R with PID 11408 (C:\Users\lenik\Music\digital-sky-api\target\classes started by lenik in C:\Users\lenik\Music\digital-sky-api) 2019-08-28 11:46:32.106 INFO 11408 --- [ main] com.ispirit.digitalsky.Application : No active profile set, falling back to default profiles: default 2019-08-28 11:46:32.598 INFO 11408 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@247bddad: startup date [Wed Aug 28 11:46:32 IST 2019]; root of context hierarchy 2019-08-28 11:46:41.703 INFO 11408 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2019-08-28 11:46:41.971 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FlyDronePermissionApplicationRepository. 2019-08-28 11:46:41.981 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UAOPApplicationRepository. 2019-08-28 11:46:41.988 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.LocalDroneAcquisitionApplicationRepository. 2019-08-28 11:46:41.996 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneAcquisitionApplicationRepository. 2019-08-28 11:46:42.010 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.ImportDroneApplicationRepository. 2019-08-28 11:46:42.046 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UINApplicationRepository. 2019-08-28 11:46:42.257 INFO 11408 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2019-08-28 11:46:42.519 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneDeviceRepository. 2019-08-28 11:46:42.523 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OperatorDroneRepository. 2019-08-28 11:46:42.526 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FicNumberRepository. 2019-08-28 11:46:42.527 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FlightLogRepository. 2019-08-28 11:46:42.529 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.PilotRepository. 2019-08-28 11:46:42.532 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.BlogRepository. 2019-08-28 11:46:42.535 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.AdcNumberRepository. 2019-08-28 11:46:42.537 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DirectorRepository. 2019-08-28 11:46:42.538 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.AirspaceCategoryRepository. 2019-08-28 11:46:42.539 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.ManufacturerRepository. 2019-08-28 11:46:42.544 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OrganizationOperatorRepository. 2019-08-28 11:46:42.545 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OccurrenceReportRepository. 2019-08-28 11:46:42.547 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneTypeRepository. 2019-08-28 11:46:42.550 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.IndividualOperatorRepository. 2019-08-28 11:46:42.555 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UserRepository. 2019-08-28 11:46:46.292 INFO 11408 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9000 (http) 2019-08-28 11:46:46.366 INFO 11408 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-08-28 11:46:46.369 INFO 11408 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23 2019-08-28 11:46:46.808 INFO 11408 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-08-28 11:46:46.810 INFO 11408 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 14212 ms 2019-08-28 11:46:48.435 INFO 11408 --- [ost-startStop-1] o.f.core.internal.util.VersionPrinter : Flyway 4.2.0 by Boxfuse 2019-08-28 11:46:50.194 INFO 11408 --- [ost-startStop-1] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:mysql://localhost:17770/digitalsky?useSSL=false (MySQL 5.5) 2019-08-28 11:46:51.405 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbValidate : Successfully validated 18 migrations (execution time 00:00.282s) 2019-08-28 11:46:51.474 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbMigrate : Current version of schema digitalsky: 00018 2019-08-28 11:46:51.477 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbMigrate : Schema digitalskyis up to date. No migration necessary. Loading classcom.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
2019-08-28 11:46:52.283 INFO 11408 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2019-08-28 11:46:52.389 INFO 11408 --- [ost-startStop-1] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2019-08-28 11:46:52.932 INFO 11408 --- [ost-startStop-1] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2019-08-28 11:46:52.940 INFO 11408 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2019-08-28 11:46:52.944 INFO 11408 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2019-08-28 11:46:53.227 INFO 11408 --- [ost-startStop-1] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2019-08-28 11:46:53.997 INFO 11408 --- [ost-startStop-1] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2019-08-28 11:46:56.034 INFO 11408 --- [ost-startStop-1] org.hibernate.tuple.PojoInstantiator : HHH000182: No default (no-argument) constructor for class: com.ispirit.digitalsky.domain.FlightLogEntry (class must be instantiated by Interceptor)
2019-08-28 11:46:56.752 INFO 11408 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-08-28 11:46:57.843 INFO 11408 --- [ost-startStop-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
2019-08-28 11:47:01.324 INFO 11408 --- [ost-startStop-1] org.mongodb.driver.cluster : Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2019-08-28 11:47:01.327 INFO 11408 --- [ost-startStop-1] org.mongodb.driver.cluster : Adding discovered server localhost:27017 to client view of cluster
2019-08-28 11:47:01.642 INFO 11408 --- [localhost:27017] org.mongodb.driver.connection : Opened connection [connectionId{localValue:1, serverValue:2}] to localhost:27017
2019-08-28 11:47:01.647 INFO 11408 --- [localhost:27017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 6, 14]}, minWireVersion=0, maxWireVersion=6, maxDocumentSize=16777216, roundTripTimeNanos=1079869}
2019-08-28 11:47:01.651 INFO 11408 --- [localhost:27017] org.mongodb.driver.cluster : Discovered cluster type of STANDALONE
2019-08-28 11:47:03.919 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2019-08-28 11:47:03.922 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/]
2019-08-28 11:47:03.923 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2019-08-28 11:47:03.925 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/]
2019-08-28 11:47:03.926 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/]
2019-08-28 11:47:03.930 INFO 11408 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'jwtAuthenticationFilter' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2019-08-28 11:47:03.933 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-08-28 11:47:05.737 WARN 11408 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flyDronePermissionApplicationController' defined in file [C:\Users\lenik\Music\digital-sky-api\target\classes\com\ispirit\digitalsky\controller\FlyDronePermissionApplicationController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
2019-08-28 11:47:05.757 INFO 11408 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-08-28 11:47:05.775 INFO 11408 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-08-28 11:47:05.854 INFO 11408 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-08-28 11:47:05.884 ERROR 11408 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flyDronePermissionApplicationController' defined in file [C:\Users\lenik\Music\digital-sky-api\target\classes\com\ispirit\digitalsky\controller\FlyDronePermissionApplicationController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.ispirit.digitalsky.Application.main(Application.java:13)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 19 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 33 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 46 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.(DigitalSignServiceImpl.java:41)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration.digitalSignService(ApplicationConfiguration.java:309)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e.CGLIB$digitalSignService$26()
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e$$FastClassBySpringCGLIB$$1394a3d1.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e.digitalSignService()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 47 common frames omitted
Caused by: java.lang.IllegalArgumentException: Illegal base64 character d
at java.util.Base64$Decoder.decode0(Base64.java:714)
at java.util.Base64$Decoder.decode(Base64.java:526)
at java.util.Base64$Decoder.decode(Base64.java:549)
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.loadPrivateKey(DigitalSignServiceImpl.java:57)
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.(DigitalSignServiceImpl.java:38)
... 58 common frames omitted
BUILD FAILURE
Total time: 1:08.404s
Finished at: Wed Aug 28 11:47:06 IST 2019
Final Memory: 15M/117M
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project digitalsky-api: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project digitalsky-api: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
Here is the full error stack:
2019-08-28 11:46:31.941 INFO 11408 --- [ main] com.ispirit.digitalsky.Application : Starting Application on DESKTOP-S2P3R4R with PID 11408 (C:\Users\lenik\Music\digital-sky-api\target\classes started by lenik in C:\Users\lenik\Music\digital-sky-api) 2019-08-28 11:46:32.106 INFO 11408 --- [ main] com.ispirit.digitalsky.Application : No active profile set, falling back to default profiles: default 2019-08-28 11:46:32.598 INFO 11408 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@247bddad: startup date [Wed Aug 28 11:46:32 IST 2019]; root of context hierarchy 2019-08-28 11:46:41.703 INFO 11408 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2019-08-28 11:46:41.971 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FlyDronePermissionApplicationRepository. 2019-08-28 11:46:41.981 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UAOPApplicationRepository. 2019-08-28 11:46:41.988 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.LocalDroneAcquisitionApplicationRepository. 2019-08-28 11:46:41.996 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneAcquisitionApplicationRepository. 2019-08-28 11:46:42.010 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.ImportDroneApplicationRepository. 2019-08-28 11:46:42.046 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UINApplicationRepository. 2019-08-28 11:46:42.257 INFO 11408 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2019-08-28 11:46:42.519 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneDeviceRepository. 2019-08-28 11:46:42.523 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OperatorDroneRepository. 2019-08-28 11:46:42.526 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FicNumberRepository. 2019-08-28 11:46:42.527 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.FlightLogRepository. 2019-08-28 11:46:42.529 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.PilotRepository. 2019-08-28 11:46:42.532 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.BlogRepository. 2019-08-28 11:46:42.535 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.AdcNumberRepository. 2019-08-28 11:46:42.537 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DirectorRepository. 2019-08-28 11:46:42.538 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.AirspaceCategoryRepository. 2019-08-28 11:46:42.539 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.ManufacturerRepository. 2019-08-28 11:46:42.544 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OrganizationOperatorRepository. 2019-08-28 11:46:42.545 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.OccurrenceReportRepository. 2019-08-28 11:46:42.547 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.DroneTypeRepository. 2019-08-28 11:46:42.550 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.IndividualOperatorRepository. 2019-08-28 11:46:42.555 INFO 11408 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.ispirit.digitalsky.repository.UserRepository. 2019-08-28 11:46:46.292 INFO 11408 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9000 (http) 2019-08-28 11:46:46.366 INFO 11408 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-08-28 11:46:46.369 INFO 11408 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23 2019-08-28 11:46:46.808 INFO 11408 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-08-28 11:46:46.810 INFO 11408 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 14212 ms 2019-08-28 11:46:48.435 INFO 11408 --- [ost-startStop-1] o.f.core.internal.util.VersionPrinter : Flyway 4.2.0 by Boxfuse 2019-08-28 11:46:50.194 INFO 11408 --- [ost-startStop-1] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:mysql://localhost:17770/digitalsky?useSSL=false (MySQL 5.5) 2019-08-28 11:46:51.405 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbValidate : Successfully validated 18 migrations (execution time 00:00.282s) 2019-08-28 11:46:51.474 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbMigrate : Current version of schema
digitalsky: 00018 2019-08-28 11:46:51.477 INFO 11408 --- [ost-startStop-1] o.f.core.internal.command.DbMigrate : Schema
digitalskyis up to date. No migration necessary. Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.2019-08-28 11:46:52.283 INFO 11408 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2019-08-28 11:46:52.389 INFO 11408 --- [ost-startStop-1] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2019-08-28 11:46:52.932 INFO 11408 --- [ost-startStop-1] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2019-08-28 11:46:52.940 INFO 11408 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2019-08-28 11:46:52.944 INFO 11408 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2019-08-28 11:46:53.227 INFO 11408 --- [ost-startStop-1] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2019-08-28 11:46:53.997 INFO 11408 --- [ost-startStop-1] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2019-08-28 11:46:56.034 INFO 11408 --- [ost-startStop-1] org.hibernate.tuple.PojoInstantiator : HHH000182: No default (no-argument) constructor for class: com.ispirit.digitalsky.domain.FlightLogEntry (class must be instantiated by Interceptor)
2019-08-28 11:46:56.752 INFO 11408 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-08-28 11:46:57.843 INFO 11408 --- [ost-startStop-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
2019-08-28 11:47:01.324 INFO 11408 --- [ost-startStop-1] org.mongodb.driver.cluster : Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2019-08-28 11:47:01.327 INFO 11408 --- [ost-startStop-1] org.mongodb.driver.cluster : Adding discovered server localhost:27017 to client view of cluster
2019-08-28 11:47:01.642 INFO 11408 --- [localhost:27017] org.mongodb.driver.connection : Opened connection [connectionId{localValue:1, serverValue:2}] to localhost:27017
2019-08-28 11:47:01.647 INFO 11408 --- [localhost:27017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 6, 14]}, minWireVersion=0, maxWireVersion=6, maxDocumentSize=16777216, roundTripTimeNanos=1079869}
2019-08-28 11:47:01.651 INFO 11408 --- [localhost:27017] org.mongodb.driver.cluster : Discovered cluster type of STANDALONE
2019-08-28 11:47:03.919 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2019-08-28 11:47:03.922 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/]
2019-08-28 11:47:03.923 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2019-08-28 11:47:03.925 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/]
2019-08-28 11:47:03.926 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/]
2019-08-28 11:47:03.930 INFO 11408 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'jwtAuthenticationFilter' to: [/]
2019-08-28 11:47:03.932 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2019-08-28 11:47:03.933 INFO 11408 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-08-28 11:47:05.737 WARN 11408 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flyDronePermissionApplicationController' defined in file [C:\Users\lenik\Music\digital-sky-api\target\classes\com\ispirit\digitalsky\controller\FlyDronePermissionApplicationController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
2019-08-28 11:47:05.757 INFO 11408 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-08-28 11:47:05.775 INFO 11408 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-08-28 11:47:05.854 INFO 11408 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-08-28 11:47:05.884 ERROR 11408 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flyDronePermissionApplicationController' defined in file [C:\Users\lenik\Music\digital-sky-api\target\classes\com\ispirit\digitalsky\controller\FlyDronePermissionApplicationController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.ispirit.digitalsky.Application.main(Application.java:13)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fly.drone.service' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'flyDronePermissionApplicationService' parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 19 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'digitalSignService' defined in class path resource [com/ispirit/digitalsky/configuration/ApplicationConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 33 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ispirit.digitalsky.service.api.DigitalSignService]: Factory method 'digitalSignService' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 46 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal base64 character d
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.(DigitalSignServiceImpl.java:41)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration.digitalSignService(ApplicationConfiguration.java:309)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e.CGLIB$digitalSignService$26()
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e$$FastClassBySpringCGLIB$$1394a3d1.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at com.ispirit.digitalsky.configuration.ApplicationConfiguration$$EnhancerBySpringCGLIB$$790a2f2e.digitalSignService()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 47 common frames omitted
Caused by: java.lang.IllegalArgumentException: Illegal base64 character d
at java.util.Base64$Decoder.decode0(Base64.java:714)
at java.util.Base64$Decoder.decode(Base64.java:526)
at java.util.Base64$Decoder.decode(Base64.java:549)
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.loadPrivateKey(DigitalSignServiceImpl.java:57)
at com.ispirit.digitalsky.service.DigitalSignServiceImpl.(DigitalSignServiceImpl.java:38)
... 58 common frames omitted
BUILD FAILURE
Total time: 1:08.404s
Finished at: Wed Aug 28 11:47:06 IST 2019
Final Memory: 15M/117M
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project digitalsky-api: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
`
The text was updated successfully, but these errors were encountered: