Spring error with Linux Path
I have been developing a java webapp on a windows machine and I got it to
work on my localhost.
Inside my applicationContext-service.xml is:
<property name="dlPath" value="C:/webapp/web/" />
Since my webapp worked perfectly on my localhost windows machine, I
decided to upload it to my live Linux Ubuntu machine and adjust the
property. I adjusted it to:
<property name="dlPath" value="/var/lib/tomcat7/ROOT/" />
Thinking that this line of code is the perfect "Linux version" of the
windows path, it should work, when instead, I get the following error:
[com.action.DownloadAction]: Bean property 'dlPath' is not writable or has
an invalid setter method. Does the parameter type of the setter match the
return type of the getter?
Getters and Setters are all set. It can't have anything to do with getters
and setters since it works perfectly on my localhost box.
No comments:
Post a Comment