<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26602041</id><updated>2011-12-14T15:35:02.792-02:00</updated><category term='Roo'/><category term='&quot;java.lang.Integer cannot be cast to java.lang.Long&quot;'/><category term='Spring'/><title type='text'>Russinholi's Blog</title><subtitle type='html'>Where you may find some good/bad ideas about software development, tools, Java, Ruby, C/C++ and anything else.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://russinholi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://russinholi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Reginaldo L. Russinholi</name><uri>http://www.blogger.com/profile/13430005816343312654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26602041.post-6545441286413689102</id><published>2010-12-04T16:38:00.003-02:00</published><updated>2010-12-04T21:12:28.688-02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Roo'/><category scheme='http://www.blogger.com/atom/ns#' term='&quot;java.lang.Integer cannot be cast to java.lang.Long&quot;'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>Spring Roo "Integer cannot be cast to Long" problem</title><content type='html'>I'm a newbie on Spring Roo and while trying to create an application using Spring&amp;nbsp; Roo and Vaadin, I've suddenly started getting the following message from Spring Roo Shell:&lt;br /&gt;"java.lang.Integer cannot be cast to java.lang.Long"&lt;br /&gt;&lt;br /&gt;And all my spring roo environment stopped to work.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;Then after changing @Min(1) to @Min(1&lt;b&gt;L&lt;/b&gt;), the same to @Max annotations, the problem has gone and my spring roo environment got working again.&lt;br /&gt;&lt;br /&gt;Thanx to this post http://www.manning-sandbox.com/thread.jspa?threadID=39831&amp;amp;tstart=0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26602041-6545441286413689102?l=russinholi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://russinholi.blogspot.com/feeds/6545441286413689102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26602041&amp;postID=6545441286413689102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/6545441286413689102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/6545441286413689102'/><link rel='alternate' type='text/html' href='http://russinholi.blogspot.com/2010/12/spring-roo-integer-cannot-be-cast-to.html' title='Spring Roo &quot;Integer cannot be cast to Long&quot; problem'/><author><name>Reginaldo L. Russinholi</name><uri>http://www.blogger.com/profile/13430005816343312654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26602041.post-1339714126733871395</id><published>2008-04-02T20:50:00.009-03:00</published><updated>2008-04-02T21:39:45.309-03:00</updated><title type='text'>Mr. Hudson is learning Brazilian Portuguese</title><content type='html'>Yes! It's true, the &lt;a href="http://hudson.dev.java.net/"&gt;Hudson&lt;/a&gt; project is being translated to portuguese-brazil.&lt;br /&gt;&lt;br /&gt;I've been working on "teaching" Mr. Hudson since February 2008 and we've made great progress.&lt;br /&gt;&lt;br /&gt;I'm not a great Portuguese teacher, but I'm doing my best. :)&lt;br /&gt;&lt;br /&gt;Up to now almost all properties files have been translated and we can see the result of my work in some pages like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_j-0aciy3WKU/R_QjdFKSd_I/AAAAAAAAAC4/XIWxHH8xUnQ/s1600-h/hudson1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_j-0aciy3WKU/R_QjdFKSd_I/AAAAAAAAAC4/XIWxHH8xUnQ/s320/hudson1.png" alt="" id="BLOGGER_PHOTO_ID_5184808053518792690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_j-0aciy3WKU/R_Qik1KSd-I/AAAAAAAAACw/DpyW4iXMjNA/s1600-h/hudson2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_j-0aciy3WKU/R_Qik1KSd-I/AAAAAAAAACw/DpyW4iXMjNA/s320/hudson2.png" alt="" id="BLOGGER_PHOTO_ID_5184807087151151074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;So Brazilian Hudson users wait few weeks more and you could have Hudson totally translated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26602041-1339714126733871395?l=russinholi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://russinholi.blogspot.com/feeds/1339714126733871395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26602041&amp;postID=1339714126733871395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/1339714126733871395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/1339714126733871395'/><link rel='alternate' type='text/html' href='http://russinholi.blogspot.com/2008/04/mr-hudson-is-learning-brazilian.html' title='Mr. Hudson is learning Brazilian Portuguese'/><author><name>Reginaldo L. Russinholi</name><uri>http://www.blogger.com/profile/13430005816343312654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_j-0aciy3WKU/R_QjdFKSd_I/AAAAAAAAAC4/XIWxHH8xUnQ/s72-c/hudson1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26602041.post-8298760537486256675</id><published>2008-03-26T21:03:00.003-03:00</published><updated>2008-03-26T21:19:00.781-03:00</updated><title type='text'>Starting up...</title><content type='html'>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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;So wait for my next posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26602041-8298760537486256675?l=russinholi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://russinholi.blogspot.com/feeds/8298760537486256675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26602041&amp;postID=8298760537486256675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/8298760537486256675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26602041/posts/default/8298760537486256675'/><link rel='alternate' type='text/html' href='http://russinholi.blogspot.com/2008/03/starting-up.html' title='Starting up...'/><author><name>Reginaldo L. Russinholi</name><uri>http://www.blogger.com/profile/13430005816343312654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
