Skip to content

Instantly share code, notes, and snippets.

@adam-phillipps
Created September 6, 2016 01:11
Show Gist options
  • Save adam-phillipps/810a28672942532df52ec22df21671c3 to your computer and use it in GitHub Desktop.
Save adam-phillipps/810a28672942532df52ec22df21671c3 to your computer and use it in GitHub Desktop.
error from `java -jar -DmodelIndex=“0” -DuseLocalFiles=false roas-simulator-1.0.jar`
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.0.RELEASE)
2016-09-06 01:09:59.723 INFO 2660 --- [ main] com.smashanalytics.main.Application : Starting Application v1.0 on ip-172-31-33-90 with PID 2660 (/home/ubuntu/crawler/roas-simulator-1.0.jar started by ubuntu in /home/ubuntu/crawler)
2016-09-06 01:09:59.753 INFO 2660 --- [ main] com.smashanalytics.main.Application : No active profile set, falling back to default profiles: default
2016-09-06 01:10:00.052 INFO 2660 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@726f3b58: startup date [Tue Sep 06 01:09:59 UTC 2016]; root of context hierarchy
2016-09-06 01:10:03.569 INFO 2660 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-09-06 01:10:04.792 INFO 2660 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2016-09-06 01:10:04.828 INFO 2660 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2016-09-06 01:10:04.830 INFO 2660 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.4
2016-09-06 01:10:05.029 INFO 2660 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2016-09-06 01:10:05.029 INFO 2660 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 5049 ms
2016-09-06 01:10:05.716 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2016-09-06 01:10:05.723 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricFilter' to: [/*]
2016-09-06 01:10:05.728 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-09-06 01:10:05.728 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-09-06 01:10:05.728 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-09-06 01:10:05.731 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2016-09-06 01:10:05.731 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2016-09-06 01:10:05.731 INFO 2660 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2016-09-06 01:10:07.027 ERROR 2660 --- [ main] o.s.b.b.PropertiesConfigurationFactory : Properties configuration failed validation
2016-09-06 01:10:07.032 ERROR 2660 --- [ main] o.s.b.b.PropertiesConfigurationFactory : Field error in object 'roas' on field 'modelIndex': rejected value [“0”]; codes [typeMismatch.roas.modelIndex,typeMismatch.modelIndex,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [roas.modelIndex,modelIndex]; arguments []; default message [modelIndex]]; default message [Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]]
2016-09-06 01:10:07.034 WARN 2660 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'roasRestService': Unsatisfied dependency expressed through field 'roasComponent': Error creating bean with name 'roasComponent': Unsatisfied dependency expressed through field 'roasProperties': Error creating bean with name 'roas-com.smashanalytics.roas.RoasProperties': Could not bind properties to RoasProperties (prefix=roas, ignoreInvalidFields=false, ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception is org.springframework.validation.BindException: org.springframework.boot.bind.RelaxedDataBinder$RelaxedBeanPropertyBindingResult: 1 errors
Field error in object 'roas' on field 'modelIndex': rejected value [“0”]; codes [typeMismatch.roas.modelIndex,typeMismatch.modelIndex,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [roas.modelIndex,modelIndex]; arguments []; default message [modelIndex]]; default message [Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roas-com.smashanalytics.roas.RoasProperties': Could not bind properties to RoasProperties (prefix=roas, ignoreInvalidFields=false, ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception is org.springframework.validation.BindException: org.springframework.boot.bind.RelaxedDataBinder$RelaxedBeanPropertyBindingResult: 1 errors
Field error in object 'roas' on field 'modelIndex': rejected value [“0”]; codes [typeMismatch.roas.modelIndex,typeMismatch.modelIndex,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [roas.modelIndex,modelIndex]; arguments []; default message [modelIndex]]; default message [Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]]; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'roasComponent': Unsatisfied dependency expressed through field 'roasProperties': Error creating bean with name 'roas-com.smashanalytics.roas.RoasProperties': Could not bind properties to RoasProperties (prefix=roas, ignoreInvalidFields=false, ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception is org.springframework.validation.BindException: org.springframework.boot.bind.RelaxedDataBinder$RelaxedBeanPropertyBindingResult: 1 errors
Field error in object 'roas' on field 'modelIndex': rejected value [“0”]; codes [typeMismatch.roas.modelIndex,typeMismatch.modelIndex,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [roas.modelIndex,modelIndex]; arguments []; default message [modelIndex]]; default message [Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roas-com.smashanalytics.roas.RoasProperties': Could not bind properties to RoasProperties (prefix=roas, ignoreInvalidFields=false, ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception is org.springframework.validation.BindException: org.springframework.boot.bind.RelaxedDataBinder$RelaxedBeanPropertyBindingResult: 1 errors
Field error in object 'roas' on field 'modelIndex': rejected value [“0”]; codes [typeMismatch.roas.modelIndex,typeMismatch.modelIndex,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [roas.modelIndex,modelIndex]; arguments []; default message [modelIndex]]; default message [Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]]
2016-09-06 01:10:07.040 INFO 2660 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2016-09-06 01:10:07.080 INFO 2660 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)
2016-09-06 01:10:07.096 ERROR 2660 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target com.smashanalytics.roas.RoasProperties@34b7ac2f failed:
Property: roas.modelIndex
Value: “0”
Reason: Failed to convert property value of type [java.lang.String] to required type [int] for property 'modelIndex'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [int]
Action:
Update your application's configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment