almost everytime you have this means that somehow it finds a much older
wicket.jar first.
If at compile everything goes ok. Then it has to be that on runtime it
finds different classes.
johan
Gwyn Evans wrote:
Hi,
Just to see if anyone's got any suggestions... I've got my app
working happily using the Jetty Start class, but now I create a WAR
file & am trying it in a stand-alone Servlet Engine, I'm having a
problem!
What I'm seeing is a "Can't instantiate page..." because of a
java.lang.NoSuchMethodError:
....pages.SearchPage$SearchForm.setModel(Lwicket/model/IModel;)Lwicket/Component;
which appears at the "setModel(new CompoundPropertyModel(this));" line
shown below... SearchForm is currently an inner class, but I'm not
expecting that to be an issue...
public class SearchForm extends Form {
private String searchMsisdn;
private String timeNumber = "1";
private String timeType = TIME_TYPE[1]; // Default to 1 day
private String resultsPerPage = LINES_PER_PAGE[0];
public SearchForm(final String id) {
super(id);
setModel(new CompoundPropertyModel(this));
add(new TextField("searchMsisdn"));
add(new TextField("timeNumber"));
add(new DropDownChoice("timeType", Arrays.asList(TIME_TYPE)));
add(new DropDownChoice("resultsPerPage",
Arrays.asList(LINES_PER_PAGE)));
}
...
Anyone come across anything similar before?
/Gwyn
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user