Did you run full-source at any point? If so, you might try running it again.

Matt

On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
>
> I upgraded it. But I compared with pom.xml of an scratch project. !!!?!?
>
>
>
> mraible wrote:
> >
> > Did you run full-source on your project? It looks like you might have,
> > but your packages didn't get renamed (or something like that). Are you
> > starting from scratch or upgrading a project?
> >
> > Matt
> >
> > On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi All,
> >>
> >> I can't build when I upgrade my project to official Appfuse 2. It seems
> >> the
> >> org.appfuse package wasn't there.
> >> Do you have any suggestion? (Non-official Appfuse 2 is ok)
> >>
> >> Thanks,
> >>
> >> Tony
> >>
> >> ====
> >> My Console:
> >>
> >> D:\Workspace\DPI>mvn jetty:run-war
> >> [INFO] Scanning for projects...
> >> [INFO] Searching repository for plugin with prefix: 'jetty'.
> >> [INFO]
> >> -------------------------------------------------------------------------
> >> ---
> >> [INFO] Building myproject
> >> [INFO]    task-segment: [jetty:run-war]
> >> [INFO]
> >> -------------------------------------------------------------------------
> >> ---
> >> [INFO] Preparing jetty:run-war
> >> [INFO] [aspectj:compile {execution: default}]
> >> [WARNING] bad version number found in C:\Documents and Settings\Tony\.m2\
> >> repository\aspectj\aspectjrt\1.5.3\aspectjrt-1.5.3.jar expected 1.5.2a
> >> found
> >> 1.5
> >> .3
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] BaseAction cannot be resolved to a type
> >> [ERROR] GenericManager cannot be resolved to a type
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] GenericManager cannot be resolved to a type
> >> [ERROR] personManager cannot be resolved or is not a field
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] The method getText(String) is undefined for the type ChatAction
> >> [ERROR] INPUT cannot be resolved
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] BaseAction cannot be resolved to a type
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] ERROR cannot be resolved
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] GenericDaoHibernate cannot be resolved to a type
> >> [ERROR] The constructor Object(Class<Person>) is undefined
> >> [ERROR] The method getHibernateTemplate() is undefined for the type
> >> PersonDaoHib
> >> ernate
> >> [ERROR] The method getHibernateTemplate() is undefined for the type
> >> PersonDaoHib
> >> ernate
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] GenericDao cannot be resolved to a type
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] BaseAction cannot be resolved to a type
> >> [ERROR] GenericManager cannot be resolved to a type
> >> [ERROR] GenericManager cannot be resolved to a type
> >> [ERROR] personManager cannot be resolved or is not a field
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] The method getText(String) is undefined for the type PersonAction
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] cancel cannot be resolved
> >> [ERROR] delete cannot be resolved
> >> [ERROR] personManager cannot be resolved
> >> [ERROR] The method getText(String) is undefined for the type PersonAction
> >> [ERROR] INPUT cannot be resolved
> >> [ERROR] SUCCESS cannot be resolved
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] GenericManager cannot be resolved to a type
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] BaseObject cannot be resolved to a type
> >> [ERROR] The import org.appfuse cannot be resolved
> >> [ERROR] GenericManagerImpl cannot be resolved to a type
> >> [ERROR] The constructor Object(PersonDao) is undefined
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Compiler errors :
> >> error at import org.appfuse.service.GenericManager;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:1
> >> 6:0::0 The import org.appfuse cannot be resolved
> >> error at import org.appfuse.webapp.action.BaseAction;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:1
> >> 8:0::0 The import org.appfuse cannot be resolved
> >> error at public class ChatAction extends BaseAction implements
> >> SessionAware
> >> {
> >>                                 ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:3
> >> 3:0::0 BaseAction cannot be resolved to a type
> >> error at private GenericManager<Person, Long> personManager;
> >>         ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:4
> >> 9:0::0 GenericManager cannot be resolved to a type
> >> error at person = personManager.get(pid);
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:7
> >> 1:0::0 personManager cannot be resolved
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:7
> >> 8:0::0 SUCCESS cannot be resolved
> >> error at public void setPersonManager(GenericManager<Person, Long>
> >> personManager
> >> ) {
> >>                              ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:8
> >> 6:0::0 GenericManager cannot be resolved to a type
> >> error at this.personManager = personManager;
> >>      ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:8
> >> 7:0::0 personManager cannot be resolved or is not a field
> >> error at person = personManager.get(pid);
> >>          ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:2
> >> 32:0::0 personManager cannot be resolved
> >> error at person = personManager.save(person);
> >>          ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:2
> >> 42:0::0 personManager cannot be resolved
> >> error at saveMessage(getText(key));
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:2
> >> 47:0::0 The method getText(String) is undefined for the type ChatAction
> >> error at return INPUT;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:2
> >> 50:0::0 INPUT cannot be resolved
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\ChatAction.java:2
> >> 52:0::0 SUCCESS cannot be resolved
> >> error at import org.appfuse.webapp.action.BaseAction;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\LoginAction.java:
> >> 17:0::0 The import org.appfuse cannot be resolved
> >> error at public class LoginAction extends BaseAction implements
> >> SessionAware
> >> {
> >>                                  ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\LoginAction.java:
> >> 30:0::0 BaseAction cannot be resolved to a type
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\LoginAction.java:
> >> 94:0::0 SUCCESS cannot be resolved
> >> error at return ERROR;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\LoginAction.java:
> >> 98:0::0 ERROR cannot be resolved
> >> error at import org.appfuse.dao.hibernate.GenericDaoHibernate;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\hibernate\PersonDaoHibernat
> >> e.java:14:0::0 The import org.appfuse cannot be resolved
> >> error at public class PersonDaoHibernate extends
> >> GenericDaoHibernate<Person,
> >> Lon
> >> g>
> >>                                         ^^^^^^^^^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\hibernate\PersonDaoHibernat
> >> e.java:26:0::0 GenericDaoHibernate cannot be resolved to a type
> >> error at super(Person.class);
> >> ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\hibernate\PersonDaoHibernat
> >> e.java:35:0::0 The constructor Object(Class<Person>) is undefined
> >> error at return getHibernateTemplate().find("from Person where
> >> lastname=?",
> >>        ^^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\hibernate\PersonDaoHibernat
> >> e.java:48:0::0 The method getHibernateTemplate() is undefined for the
> >> type
> >> Perso
> >> nDaoHibernate
> >> error at return getHibernateTemplate().find(
> >>        ^^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\hibernate\PersonDaoHibernat
> >> e.java:63:0::0 The method getHibernateTemplate() is undefined for the
> >> type
> >> Perso
> >> nDaoHibernate
> >> error at import org.appfuse.dao.GenericDao;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\PersonDao.java:13:0::0
> >> The
> >> import org.appfuse cannot be resolved
> >> error at public interface PersonDao extends GenericDao<Person, Long> {
> >>                                    ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\dao\PersonDao.java:25:0::0
> >> Gene
> >> ricDao cannot be resolved to a type
> >> error at import org.appfuse.service.GenericManager;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :13:0::0 The import org.appfuse cannot be resolved
> >> error at import org.appfuse.webapp.action.BaseAction;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :15:0::0 The import org.appfuse cannot be resolved
> >> error at public class PersonAction extends BaseAction {
> >>                                   ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :27:0::0 BaseAction cannot be resolved to a type
> >> error at private GenericManager<Person, Long> personManager;
> >>         ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :31:0::0 GenericManager cannot be resolved to a type
> >> error at public void setPersonManager(GenericManager<Person, Long>
> >> personManager
> >> ) {
> >>                              ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :43:0::0 GenericManager cannot be resolved to a type
> >> error at this.personManager = personManager;
> >>      ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :44:0::0 personManager cannot be resolved or is not a field
> >> error at persons = personManager.getAll();
> >>           ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :62:0::0 personManager cannot be resolved
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :64:0::0 SUCCESS cannot be resolved
> >> error at personManager.remove(person.getId());
> >> ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :100:0::0 personManager cannot be resolved
> >> error at saveMessage(getText("person.deleted"));
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :101:0::0 The method getText(String) is undefined for the type
> >> PersonAction
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :103:0::0 SUCCESS cannot be resolved
> >> error at person = personManager.get(id);
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :113:0::0 personManager cannot be resolved
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :118:0::0 SUCCESS cannot be resolved
> >> error at if (cancel != null) {
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :129:0::0 cancel cannot be resolved
> >> error at if (delete
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :132:0::0 delete cannot be resolved
> >> error at person = personManager.save(person);
> >>          ^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :144:0::0 personManager cannot be resolved
> >> error at saveMessage(getText(key));
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :146:0::0 The method getText(String) is undefined for the type
> >> PersonAction
> >> error at return INPUT;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :148:0::0 INPUT cannot be resolved
> >> error at return SUCCESS;
> >>
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\webapp\action\PersonAction.java
> >> :150:0::0 SUCCESS cannot be resolved
> >> error at import org.appfuse.service.GenericManager;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\service\PersonManager.java:13:0
> >> ::0 The import org.appfuse cannot be resolved
> >> error at public interface PersonManager extends GenericManager<Person,
> >> Long>
> >> {
> >>                                        ^^^^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\service\PersonManager.java:24:0
> >> ::0 GenericManager cannot be resolved to a type
> >> error at import org.appfuse.model.BaseObject;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\model\Person.java:11:0::0
> >> The i
> >> mport org.appfuse cannot be resolved
> >> error at public class Person extends BaseObject {
> >>                             ^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\model\Person.java:30:0::0
> >> BaseO
> >> bject cannot be resolved to a type
> >> error at import org.appfuse.service.impl.GenericManagerImpl;
> >>        ^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\service\impl\PersonManagerImpl.
> >> java:15:0::0 The import org.appfuse cannot be resolved
> >> error at public class PersonManagerImpl extends
> >> GenericManagerImpl<Person,
> >> Long>
> >>
> >>                                        ^^^^^^^^^^^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\service\impl\PersonManagerImpl.
> >> java:27:0::0 GenericManagerImpl cannot be resolved to a type
> >> error at super(personDao);
> >> ^^^^^^^
> >> D:\Workspace\DPI\src\main\java\com\myproject\app\service\impl\PersonManagerImpl.
> >> java:43:0::0 The constructor Object(PersonDao) is undefined
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] For more information, run Maven with the -e switch
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: 4 seconds
> >> [INFO] Finished at: Wed Sep 19 11:00:54 ICT 2007
> >> [INFO] Final Memory: 13M/24M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Does-Appfuse2-move-package--tf4478670s2369.html#a12770472
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Does-Appfuse2-move-package--tf4478670s2369.html#a12770547
>
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to