今天用was7发布项目的时候,出现如下报错:
Caused by: java.lang.NullPointerException
at org.springframework.core.GenericTypeResolver.getTypeVariableMap(GenericTypeResolver.java:144)
at org.springframework.core.GenericTypeResolver.resolveReturnType(GenericTypeResolver.java:93)
at org.springframework.beans.GenericTypeAwarePropertyDescriptor.getPropertyType(GenericTypeAwarePropertyDescriptor.java:58)
at java.beans.PropertyDescriptor.setWriteMethod(Unknown Source)
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at org.springframework.beans.GenericTypeAwarePropertyDescriptor.<init>(GenericTypeAwarePropertyDescriptor.java:47)
at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:250)
at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
通过上网查阅才找到问题的根源。
之前用的spring版本为2.5.4 将spring的版本升级到2.5.6以后问题解决。
PS:在was7上spring2.5.6之前的版本会和JDK6存在冲突,导致读取配置文件的时候出现错误。
- 浏览: 118295 次
- 性别:
- 来自: 上海
相关推荐
to reduce the number of access list entries and access list changes you may need to make. Chapter 3, shows how to use access lists to implement security policies. It has examples of access lists ...
have tried, however, to make this a book that will be useful to you now as a course textbook and also later in your career as a mathematical desk reference or an engineering handbook. What are the ...
向yarn提交任务时Retrying connect to server 0.0.0.0:8032异常
如果在安卓工程中,直接使用AXMLPrinter的jar,会报错java.lang.IllegalAccessError: tried to access class android.content.res.StringBlock from class android.content.res.AXmlResourceParser 这需要修改里面...
I have tried to develop a very good browser. Now I myself can’t rate it... so i am leaving to you guys out there to rate it..
Unit_6_An_old_man_tried_to_move_the_mountains.教学设计.docx
Through topics such as "building a project budget and schedule" to "managing vendors," this book will guide you through what works and what doesn't based on tried and true practices. Your learning ...
We have tried to keep explanations elementary without sacrificing depth of coverage or mathematical rigor. Each chapter presents an algorithm, a design technique, an application area, or a related ...
In addition, I tried this method in project, and I can't see the warn log that can't be closed properly. In addition,In addition, I tried this method in project, and I can't see the warn log that can'...
I have tried to create a circular command button like thing (using just shapes).
If you want to start programming in C# using a tried-and-tested method: download this book now. Table of Contents Chapter 1: Introduction to Programming in C# Chapter 2: Creating your First Script ...
2.2 Building the Core Framework Scripts..................................11 2.2.1 BaseGameController.cs.....................................12 2.2.1.1 Script Breakdown...................................
I did not manage to set/override the Options definition file either (I tried with and without a 'file:///' prefix). Is this supposed to be a file within the project? It is also not clear when changing...
I have been a big fan of the Spring Framework since its first release in 2004 and have been using it in almost all my projects. When the application server written by the same company—the ...
.NET Runtime Optimization Service (clr_optimization_v2.0.50727_64) – Tried to start a service that wasn”t the latest version of CLR Optimization service. Will shutdown(glory69 ) 小昕:快速存储技术...
This tutorial will show you how to access the information you need in your browser by simply highlighting your text in the edit window and clicking your toolbar button How to install UE3 UE3 is the ...
As it seems that some people are using it, I tried to recode all the stuff. It's name is "LordPE". I decided to code this project in C because a big part of it is GUI shit. LordPE is not finished up ...
We've tried hard to avoid both of these categories with Design Patterns Explained Simply. This book is fast and simple way to get the idea behind each of the 29 popular design patterns. The book is ...
We'll look at how to use the unit test framework called Ceedling to help us do this. In the first example, we'll see how to create tests and write the code to make them pass. In the second example we ...
Has anyone tried playing the video with VideoView and MediaController? I tried but without much luck. I did notice however that when instantiating MediaController, the compiler requires you to put in...