Ill just why is it this error apperars when i add this code to my autosuggest "CANT INSTANTIATE CORE.BEAN"
while(rs.next()) {
String s = rs.getString("name");
if(s.startsWith(text)){
data.add(s);}
here's my xhtml file
<p:autoComplete id="input" value="#{bean.text}" completeMethod="#{bean.complete}" maxResults="11" />
or if im doing it wrong, any开发者_如何学Pythonone who could correct me?
Thanks!
精彩评论