-
Jul 26th, 2010, 08:07 AM
#1
Getting java.lang.NumberFormatException
Hi,
I am new to spring roo.
When i am declaring a field like
field number --fieldName phone --class com.combo.MyClass --type java.lang.Integer --notNull --min 10
its giving the following error.
Failed to convert property value of type java.lang.String to required type java.lang.Integer for property phone1; nested exception is org.springframework.core.convert.ConversionFailedE xception: Unable to convert value 76576565699 from type java.lang.String to type java.lang.Integer; nested exception is java.lang.NumberFormatException: For input string: "76576565699"
Can u please help....
-
Jul 28th, 2010, 01:11 AM
#2
hey ---you have taken datatype integer and putting more than the int(12) values -------i think so
Last edited by nitigya03; Jul 28th, 2010 at 03:06 AM.
-
Jul 28th, 2010, 07:52 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules