Clearly I have not properly installed the wicket-2.0-SNAPSHOT in the local repo, because the compilation of the phonebook fails because it can't find the wicket classes. But I can't for the life of me figure out why! the jar files are there in my local repo. I tried putting them there manually, AND i installed them using mvn install:install-file. Any help would be appreciated.
C:\project\phonebook2>mvn compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------- --- [INFO] Building Wicket Phonebook Example [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://wicketframework.org/maven2/wicket/wicket-spring/2.0-SNAPSHOT /wicket-spring-2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository wicket-repo (http://wicketframe work.org/maven2) Downloading: http://wicketframework.org/maven2/wicket/wicket-extensions/2.0-SNAP SHOT/wicket-extensions-2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository wicket-repo (http://wicketframe work.org/maven2) Downloading: http://wicketframework.org/maven2/wicket/wicket/2.0-SNAPSHOT/wicket -2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository wicket-repo (http://wicketframe work.org/maven2) [INFO] [compiler:compile] Compiling 14 source files to C:\project\phonebook2\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[28,42] cannot find symbol symbol : class EmailAddressPatternValidator location: package wicket.markup.html.form.validation C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[29,42] cannot find symbol symbol : class StringValidator location: package wicket.markup.html.form.validation C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[68,61] cannot find symbol symbol : variable StringValidator location: class wicket.contrib.phonebook.web.page.EditContactPage C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[71,60] cannot find symbol symbol : variable StringValidator location: class wicket.contrib.phonebook.web.page.EditContactPage C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[74,57] cannot find symbol symbol : variable StringValidator location: class wicket.contrib.phonebook.web.page.EditContactPage C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[78,37] cannot find symbol symbol : variable EmailAddressPatternValidator location: class wicket.contrib.phonebook.web.page.EditContactPage C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage .java:[77,49] cannot find symbol symbol : variable StringValidator location: class wicket.contrib.phonebook.web.page.EditContactPage [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Thu Oct 05 22:21:28 PDT 2006 [INFO] Final Memory: 7M/20M [INFO] ------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
