Home > Back-end >  Read the properties in the configuration of the applicationcontext.xml file transcoding errors
Read the properties in the configuration of the applicationcontext.xml file transcoding errors

Time:12-06

Bosses, my project start times wrong
This is the error reason:
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'onedataSource defined in the class path resource [applicationContext - mybatis. XML] : Initialization of bean failed; Nested exception is org. Springframework. Beans. TypeMismatchException: Failed to convert the property value of the type [Java. Lang. String] to the required type (int) for the property 'initialSize'; Nested exception is Java. Lang. A NumberFormatException: For input string: "${druidDataSource. InitialSize}"
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 480)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory $1. The run (AbstractAutowireCapableBeanFactory. Java: 409)
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 380)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 264)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 221)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 261)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 185)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 164)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 429)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 729)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 381)
The at org. Springframework. Web. Context. ContextLoader. CreateWebApplicationContext (ContextLoader. Java: 255)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 199)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 45)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4699)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5165)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 183)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 743)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 719)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 705)
The at org. Apache. Catalina. Startup. HostConfig. ManageApp (HostConfig. Java: 1720)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (601) Method. The Java:
At org, apache tomcat. Util. Modeler. BaseModelMBean. Invoke (BaseModelMBean. Java: 287)
At com. Sun. JMX. Interceptor. DefaultMBeanServerInterceptor. Invoke (DefaultMBeanServerInterceptor. Java: 819)
At com. Sun. JMX. Mbeanserver. JmxMBeanServer. Invoke (JmxMBeanServer. Java: 792)
The at org. Apache. Catalina. Mbeans. MBeanFactory. CreateStandardContext (MBeanFactory. Java: 479)
The at org. Apache. Catalina. Mbeans. MBeanFactory. CreateStandardContext (MBeanFactory. Java: 428)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (601) Method. The Java:
At org, apache tomcat. Util. Modeler. BaseModelMBean. Invoke (BaseModelMBean. Java: 287)
At com. Sun. JMX. Interceptor. DefaultMBeanServerInterceptor. Invoke (DefaultMBeanServerInterceptor. Java: 819)
At com. Sun. JMX. Mbeanserver. JmxMBeanServer. Invoke (JmxMBeanServer. Java: 792)
At com. Sun. JMX. Remote. Security. MBeanServerAccessController. Invoke (MBeanServerAccessController. Java: 468)
The at javax.mail. Management. Remote. The rmi. RMIConnectionImpl. DoOperation (RMIConnectionImpl. Java: 1486)
At javax.mail. Management. Remote. The rmi. RMIConnectionImpl. Access the $300 (96) RMIConnectionImpl. Java:
The at javax.mail. Management. Remote. The rmi. RMIConnectionImpl $PrivilegedOperation. Run (RMIConnectionImpl. Java: 1327)
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at javax.mail. Management. Remote. The rmi. RMIConnectionImpl. DoPrivilegedOperation (RMIConnectionImpl. Java: 1426)
The at javax.mail. Management. Remote. The rmi. RMIConnectionImpl. Invoke (RMIConnectionImpl. Java: 847)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related