From user-return-16135-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue Jun 19 00:44:17 2012 Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DC9C9A7C for ; Tue, 19 Jun 2012 00:44:17 +0000 (UTC) Received: (qmail 93037 invoked by uid 500); 19 Jun 2012 00:44:16 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 92994 invoked by uid 500); 19 Jun 2012 00:44:16 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 92987 invoked by uid 99); 19 Jun 2012 00:44:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 00:44:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Collins-Solutions@austin.rr.com designates 71.74.56.122 as permitted sender) Received: from [71.74.56.122] (HELO hrndva-omtalb.mail.rr.com) (71.74.56.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 00:44:08 +0000 X-Authority-Analysis: v=2.0 cv=T6AOvo2Q c=1 sm=0 a=NjzueLXEFL+JvenYoLnPsQ==:17 a=NLKF_CLTfucA:10 a=eFosVe0FMc8A:10 a=05ChyHeVI94A:10 a=ayC55rCoAAAA:8 a=mV9VRH-2AAAA:8 a=In_GHBDzXxf7puVc9GcA:9 a=wPNLvfGTeEIA:10 a=1wBOSH8oamGFJZNiETkA:9 a=_W_S_7VecoQA:10 a=NjzueLXEFL+JvenYoLnPsQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 70.114.157.140 Received: from [70.114.157.140] ([70.114.157.140:34634] helo=[192.168.1.116]) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 2B/12-01775-34BCFDF4; Tue, 19 Jun 2012 00:43:47 +0000 Message-ID: <4FDFCB4F.70904@austin.rr.com> Date: Mon, 18 Jun 2012 19:43:59 -0500 From: Russell Collins Organization: Collins Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: user@geronimo.apache.org Subject: JSF Dependencies Content-Type: multipart/alternative; boundary="------------010002040804070006050709" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------010002040804070006050709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am trying to add Primefaces to the Geronimo Installation and then reference that Primefaces Jar in my war file. However, when I do this, I get an error that says org.osgi.framework.BundleException: The bundle "org.primefaces_3.3.1 [377]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.faces; version="[2.1.0,3.0.0)" My geronimo-web.xml file looks like this. com.acc acc-web 1.0-SNAPSHOT war org.apache.geronimo.bundles myfaces-bundle 2.0.9_1 jar org.primefaces primefaces 3.3.1 jar acc The assembly has been installed successfully. What am I missing? I would really like to include the JSF implementation library with the Geronimo install as opposed to having to include it in my .war file. Thank you -- Russell --------------010002040804070006050709 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I am trying to add Primefaces to the Geronimo Installation and then reference that Primefaces Jar in my war file.  However, when I do this, I get an error that says

org.osgi.framework.BundleException: The bundle "org.primefaces_3.3.1 [377]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.faces; version="[2.1.0,3.0.0)"

My geronimo-web.xml file looks like this.


<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <dep:moduleId>
            <dep:groupId>com.acc</dep:groupId>
            <dep:artifactId>acc-web</dep:artifactId>
            <dep:version>1.0-SNAPSHOT</dep:version>
            <dep:type>war</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.bundles</dep:groupId>
                <dep:artifactId>myfaces-bundle</dep:artifactId>
                <dep:version>2.0.9_1</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>org.primefaces</dep:groupId>
                <dep:artifactId>primefaces</dep:artifactId>
                <dep:version>3.3.1</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    <context-root>acc</context-root>   
</web-app>

The assembly has been installed successfully.  What am I missing?  I would really like to include the JSF implementation library with the Geronimo install as opposed to having to include it in my .war file.  

Thank you
-- 

Russell
--------------010002040804070006050709--