OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | October 2007 Index

<--  Date Index  --> <--  Thread Index  -->

[exoplatform] [SOLVED] BUILD FAILURE portlet-container (portlet-api old jar problem)


Hello,

If you are faced with the problem that it is impossible to
successfully build eXo portlet-container project, with errors like
that:

====================================
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

D:\java\projects\exo-projects\portlet-container\branches\2.0\component\plugins\pc\src\main\java\org\exoplatform\services\portletcontainer\plugins\pc\portletAPIImp\PortletSessionImp.java:[32,7]
org.exoplatf
orm.services.portletcontainer.plugins.pc.portletAPIImp.PortletSessionImp
is not abstract and does not override abstract method getMap(int) in
javax.portlet.PortletSession

D:\java\projects\exo-projects\portlet-container\branches\2.0\component\plugins\pc\src\main\java\org\exoplatform\services\portletcontainer\plugins\pc\portletAPIImp\PortletResponseImp.java:[39,7]
org.exoplat
form.services.portletcontainer.plugins.pc.portletAPIImp.PortletResponseImp
is not abstract and does not override abstract method
createResourceURL() in javax.portlet.PortletResponse

D:\java\projects\exo-projects\portlet-container\branches\2.0\component\plugins\pc\src\main\java\org\exoplatform\services\portletcontainer\plugins\pc\portletAPIImp\StateAwareResponseImp.java:[36,7]
org.exop
latform.services.portletcontainer.plugins.pc.portletAPIImp.StateAwareResponseImp
is not abstract and does not override abstract method
createResourceURL() in javax.portlet.PortletResponse

D:\java\projects\exo-projects\portlet-container\branches\2.0\component\plugins\pc\src\main\java\org\exoplatform\services\portletcontainer\plugins\pc\portletAPIImp\EventResponseImp.java:[15,7]
org.exoplatfo
rm.services.portletcontainer.plugins.pc.portletAPIImp.EventResponseImp
is not abstract and does not override abstract method
createResourceURL() in javax.portlet.PortletResponse

D:\java\projects\exo-projects\portlet-container\branches\2.0\component\plugins\pc\src\main\java\org\exoplatform\services\portletcontainer\plugins\pc\portletAPIImp\ActionResponseImp.java:[22,7]
org.exoplatf
orm.services.portletcontainer.plugins.pc.portletAPIImp.ActionResponseImp
is not abstract and does not override abstract method
createResourceURL() in javax.portlet.PortletResponse
====================================
        
Consequently, in your local repositories are old portlet-api file.
You should to remove the old portlet-api 2.0 dependency from your
local maven repository
MAVEN_REPO/javax/portlet/portlet-api
Also make sure that you do not have the following directory:
MAVEN_REPO/portlet-api/

At our common repository located new version of the portlet-api 2.0
which will be automatically downloaded while next attempt to build.

        <repository>

          <id>maven.org</id>

          <name>maven.org repository</name>

          <url>http://repo1.maven.org/maven2</url>

          <layout>default</layout>

        </repository>
         <repository>
           <id>exo-int</id>
           <name>exoplatform.org internal repository</name>
           <url>http://maven2.exoplatform.org/rest/maven2</url>
           <layout>default</layout>
         </repository>

HTH,
Alexey


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.