Re: Error when deploying intranet templates from the cvs

"Aage Nielsen" <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <OFEA8626A6.C2D84045-ONC125706D.002BD427-C125706D.002C8A1D@interactive.as>
The binary Jahia 4.1.0_01 from your site - Windows XP - JDK 1.4.09 - 


Error compiling file: 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\/home_jsp.java 
    [javac] Compiling 1 source file
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
package org.jahia.data.beans.portlets does not exist
    [javac] import org.jahia.data.beans.portlets.*;
    [javac] ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
cannot resolve symbol
    [javac] symbol  : method isAvailable ()
    [javac] location: class org.jahia.services.pages.ContentPage
    [javac]                 if (cp.isAvailable() && 
cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
    [javac]                       ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
cannot resolve symbol
    [javac] symbol  : method isAvailable ()
    [javac] location: class org.jahia.services.pages.ContentPage
    [javac]                 if (cp.isAvailable() && ( (displayPreview || 
isSharedInStaging || jData.gui().isCompareMode()) &&
    [javac]                       ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
cannot resolve symbol
    [javac] symbol  : variable PageSearchResultBuilderImpl 
    [javac] location: class org.apache.jsp.home_jsp
    [javac] 
out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
    [javac]                 ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
cannot resolve symbol
    [javac] symbol  : method getPageType ()
    [javac] location: class org.jahia.data.beans.PageBean
    [javac]                         (topLinkBean.getPageType() == 
PageInfoInterface.TYPE_URL) ||
    [javac]                                     ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
cannot resolve symbol
    [javac] symbol  : method getPageType ()
    [javac] location: class org.jahia.data.beans.PageBean
    [javac]                         (topLinkBean.getPageType() == 
PageInfoInterface.TYPE_LINK );
    [javac]                                     ^
    [javac] 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
cannot resolve symbol
    [javac] symbol  : method getPageType ()
    [javac] location: class org.jahia.data.beans.PageBean
    [javac]                       out.print(topLinkBean.getPageType() == 
PageInfoInterface.TYPE_URL ? "remote" : "local");
    [javac]                                            ^
    [javac] Note: 
C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 7 errors

Med venlig hilsen
Aage Nielsen
------------------------------------
Vesterbrogade 8
DK-8800 Viborg
Denmark

Phone +45 87 25 50 83
Mobile +45 25 28 69 83
e-mail: [email protected]



Stéphane Croisier <[email protected]> 
30-08-2005 09:53
Please respond to
<[email protected]>


To
<[email protected]>
cc

Subject
Re: Error when deploying intranet templates from the cvs







Which version of Jahia? Which environment? Which templates? and which 
exception in the console?

Stéphane

At 09:51 30/08/2005, you wrote:

I keep getting jsp compilation errors when deploying/using the intranet 
template versions 

package org.jahia.data.beans.portlets does not exist 

any ideas ? 

Regards
Aage Nielsen
------------------------------------
Vesterbrogade 8
DK-8800 Viborg
Denmark

Phone +45 87 25 50 83
Mobile +45 25 28 69 83
e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.