[Building Sakai] Profile2 problem

Paul Dagnall dagnalpb at notes.udayton.edu
Fri Nov 12 07:44:37 PST 2010


Hi
I'm trying to get Profile2 (*1.3.12)* running on Sakai 2.6. It worked very
well on my dev box. I then pulled the code onto a test server. As far as I
can tell, all sakai code on my test server is identical to what's on my dev
box. The problem is I get the following error when it attempts to build
Profile2:

[INFO] Compilation failure
/opt/sakai_vcc/profile2/impl/src/java/org/sakaiproject/profile2/legacy/ProfileImpl.java:[53,9]
method does not override a method from its superclass

This has me puzzled. Just for fun I made the following change:

--- impl/src/java/org/sakaiproject/profile2/legacy/ProfileImpl.java
(revision 3065)
+++ impl/src/java/org/sakaiproject/profile2/legacy/ProfileImpl.java
(working copy)
@@ -50,7 +50,7 @@
     public String getUserId() {
         return userId;
     }
-    @Override
+    //@Override
     public void setUserID(String arg0) {
         this.userId = arg0;


This allowed the tool to build but accessing it through the application
created the following error:


INFO: 2010-11-12 10:25:47,925 [ProfileApplication] init: Wicket extensions
initializer [TP-Processor10]
INFO: 2010-11-12 10:25:47,932 [ProfileApplication] Started Wicket version
1.3.6 in deployment mode [TP-Processor10]
ERROR: 2010-11-12 10:25:48,053 Can't instantiate page using constructor
public org.sakaiproject.profile2.tool.Dispatcher() [TP-Processor1]
org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.sakaiproject.profile2.tool.Dispatcher()
    at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)


Does anyone have any ideas about what I'm doing wrong here?

Thanks!


Paul Dagnall
Web Developer
University of Dayton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101112/bc779e95/attachment.html 


More information about the sakai-dev mailing list