Spring boot 错误SpringApplication IllegaAccessError试图访问方法org.springframework.beans.PropertyEditorRegistrySupport.getDefaultEditor
我一直在尝试在tomcat服务器上部署SpringBoot项目,在本地运行maven成功 但是,我一直在尝试导出.war文件并在tomcat上部署get error ValidatorFactory作用域脚本计算器工厂。 20:10:54.170[http-nio-8080-exec-13]错误org.springframework.boot.SpringApplication-应用程序运行失败 java.lang.IllegalAccessError:试图访问方法org.springframework.beans.PropertyEditorRegistrySupport.getDefaultEditor(Ljava/lang/Class;)Ljava/beans/PropertyEditor;来自类org.springframework.boot.context.properties.bind.BindConverter$TypeConverter 位于org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConverter.getPropertyEdit(BindConverter.java:239) 位于org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConverter.matches(BindConverter.java:224) 位于org.springframework.core.convert.support.GenericConversionService$ConvertersForPair.getConverter(GenericConversionService.java:669) 位于org.springframework.core.convert.support.GenericConversionService$Converters.getRegisteredConverter(GenericConversionService.java:566) 位于org.springframework.core.convert.support.GenericConversionService$Converters.find(GenericConversionService.java:550) 位于org.springframework.core.convert.support.GenericConversionService.getConverter(GenericConversionService.java:260) 位于org.springframework.core.convert.support.GenericConversionService.canConvert(GenericConversionService.java:145) 位于org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService.canConvert(BindConverter.java:201) 位于org.springframework.boot.convert.DelimitedStringToArrayConverter.matches(DelimitedStringToArrayConverter.java:51) 位于org.springframework.core.convert.support.GenericConversionService$ConvertersForPair.getConverter(GenericConversionService.java:669) 位于org.springframework.core.convert.support.GenericConversionService$Converters.getRegisteredConverter(GenericConversionService.java:566) 位于org.springframework.core.convert.support.GenericConversionService$Converters.find(GenericConversionService.java:550) 位于org.springframework.core.convert.support.GenericConversionService.getConverter(GenericConversionService.java:260) 位于org.springframework.core.convert.support.GenericConversionService.canConvert(GenericConversionService.java:145) 位于org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService.canConvert(BindConverter.java:201) 位于org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.convert(BindConverter.java:163) 位于org.springframework.boot.context.properties.bind.BindConverter.convert(BindConverter.java:96) 位于org.springframework.boot.context.properties.bind.IndexedElementsBinder.convert(IndexedElementsBinder.java:142) 位于org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindValue(IndexedElementsBinder.java:95) 位于org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:83) 位于org.springframework.boot.context.properties.bind.IndexedElementsBinder.bindIndexed(IndexedElementsBinder.java:71) 位于org.springframework.boot.context.properties.bind.ArrayBinder.bindAggregate(ArrayBinder.java:46) 位于org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) 位于org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:388) 位于org.springframework.boot.context.properties.bind.Binder$context.withIncreasedDepth(Binder.java:543) 位于org.springframework.boot.context.properties.bind.Binder$context.access$200(Binder.java:486) 位于org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:388) 位于org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:349) 位于org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:293) 位于org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:281) 位于org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:211) 位于org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:172) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.getProfiles(ConfigFileApplicationListener.java:604) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$asDocuments$11(ConfigFileApplicationListener.java:577) 位于java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 位于java.util.Collections$2.tryAdvance(Collections.java:4717) 位于java.util.Collections$2.foreachleveling(Collections.java:4725) 位于java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) 位于java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) 位于java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) 位于java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 位于java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.asDocuments(ConfigFileApplicationListener.java:578) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadDocuments(ConfigFileApplicationListener.java:563) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:518) 位于org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadForFileExtension(ConfigFileApplicationListener.java:494) 在Spring boot 错误SpringApplication IllegaAccessError试图访问方法org.springframework.beans.PropertyEditorRegistrySupport.getDefaultEditor,spring-boot,maven,pom.xml,Spring Boot,Maven,Pom.xml,我一直在尝试在tomcat服务器上部署SpringBoot项目,在本地运行maven成功 但是,我一直在尝试导出.war文件并在tomcat上部署get error ValidatorFactory作用域脚本计算器工厂。 20:10:54.170[http-nio-8080-exec-13]错误org.springframework.boot.SpringApplication-应用程序运行失败 java.lang.IllegalAccessError:试图访问方法org.springfram
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
<relativePath />
</parent>
<groupId>xxx.xxxx</groupId>
<artifactId>xxx</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.thailife</groupId>
<artifactId>queueman</artifactId>
<scope>system</scope>
<version>1.0</version>
<systemPath>${basedir}/src/main/resources/lib/queueman.jar</systemPath>
</dependency>
</dependencies>
<build>
<finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>