I'm a newbie on Spring Roo and while trying to create an application using Spring Roo and Vaadin, I've suddenly started getting the following message from Spring Roo Shell:
"java.lang.Integer cannot be cast to java.lang.Long"
And all my spring roo environment stopped to work.
After "googling" a lot, I've finally found one possible reason to this problem, at least it was my case. So I'd like to share.
In my case I've annotated some fields with @Min(1) or @Max(9) for example, and what I didn't know is that those annotation takes a long parameter not a integer parameter.
Then after changing @Min(1) to @Min(1L), the same to @Max annotations, the problem has gone and my spring roo environment got working again.
Thanx to this post http://www.manning-sandbox.com/thread.jspa?threadID=39831&tstart=0
Russinholi's Blog
Where you may find some good/bad ideas about software development, tools, Java, Ruby, C/C++ and anything else.
Saturday, December 04, 2010
Wednesday, April 02, 2008
Mr. Hudson is learning Brazilian Portuguese
Yes! It's true, the Hudson project is being translated to portuguese-brazil.
I've been working on "teaching" Mr. Hudson since February 2008 and we've made great progress.
I'm not a great Portuguese teacher, but I'm doing my best. :)
Up to now almost all properties files have been translated and we can see the result of my work in some pages like:

And

Off course there are several other parts of the Hudson project that's already translated, but I think these two above illustrate what is happening.
Well I hope finish the translation on next weeks and then I will review my work to make sure that there are no translation mistakes nor grammar errors.
So Brazilian Hudson users wait few weeks more and you could have Hudson totally translated.
I've been working on "teaching" Mr. Hudson since February 2008 and we've made great progress.
I'm not a great Portuguese teacher, but I'm doing my best. :)
Up to now almost all properties files have been translated and we can see the result of my work in some pages like:

And

Off course there are several other parts of the Hudson project that's already translated, but I think these two above illustrate what is happening.
Well I hope finish the translation on next weeks and then I will review my work to make sure that there are no translation mistakes nor grammar errors.
So Brazilian Hudson users wait few weeks more and you could have Hudson totally translated.
Wednesday, March 26, 2008
Starting up...
Well, my names is Reginaldo Russinholi and I'm starting to write this blog to share my works, my experiences and some ideas with everyone.
I'm a brazilian Sun Certified Java 5 Programmer formed as Bachelor of Informatics and Post-graduated on Analysis and Development of Object Oriented Software.
Working with software development since 2000, I've been working with many languages as C/C++, Java, Ruby, Delphi and some other script languages, and I hope to put my experiences here to help other developers.
So wait for my next posts.
I'm a brazilian Sun Certified Java 5 Programmer formed as Bachelor of Informatics and Post-graduated on Analysis and Development of Object Oriented Software.
Working with software development since 2000, I've been working with many languages as C/C++, Java, Ruby, Delphi and some other script languages, and I hope to put my experiences here to help other developers.
So wait for my next posts.
Subscribe to:
Posts (Atom)