agilaganesh92 Posted February 24, 2015 Share Posted February 24, 2015 Iam having query like select * from employee where id = $P{ID}Iam calling my jrxml from java . while compiling i am getting error likeNo such accessible method: addParameter() on object: net.sf.jasperreports.engine.design.JRDesignQueryat net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) how can i resolve this error. thanks in advance Link to comment Share on other sites More sharing options...
gert_1 Posted March 4, 2015 Share Posted March 4, 2015 I don't know. Could it be you didn't add the parameter up front? Link to comment Share on other sites More sharing options...
AnnMary.Thomas Posted March 5, 2015 Share Posted March 5, 2015 have you set the parameter from java class? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now