Upgrading my Netbeans Maven plugin fixed the problem..........weird........
Thanks for everyones suggestions.

On Wed, Nov 12, 2008 at 4:15 PM, Ryan Andreasen <[EMAIL PROTECTED]>wrote:

> I have Maven 2.0.9 installed.  I tried blowing away my entire maven
> repository and issuing a mvn clean package install from the web app (for me
> an overlay) directory.  It redownloaded everything but still did not bring
> in the other two noelios jars.  I had no problem getting 3.3.0 to download
> the noelios M4 jars, but for some reason I cannot get it to bring down the
> 1.1.1 jars as dependencies to the com.noelios.restlet.ext.spring jar.  I am
> no Maven expert either so I am very perplexed.
>
> Thanks for your help.
>
>
> On Wed, Nov 12, 2008 at 3:19 PM, Dale Ogilvie <[EMAIL PROTECTED]>wrote:
>
>> I'm not a maven guru, so I can only provide guesses. You are using mvn
>> 2.0.9?
>>
>> I would try "mvn clean" in the build directory and have a look under
>> your $HOME/.m2 directory for the com.noelios jars. (Documents and
>> Settings/user on windows), perhaps they aren't downloading for some
>> reason?
>>
>> You could of course just place the jars manually into webinf/lib if you
>> just want to get it up and running.
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> On Behalf Of Ryan Andreasen
>> Sent: Thursday, 13 November 2008 10:38 a.m.
>> To: [email protected]
>> Subject: RE: CAS 3.3.1 Restlet Error on Deploy
>>
>>
>> Dale,
>>
>> I have not altered the pom.xml of the cas-server-integration-restlet
>> module.
>> I did look at its pom.xml and it is identical to what you have below.
>> However, in my target WEB-INF/lib directory there are no
>> com.noelios.restlet-1.1.1.jar com.noelios.restlet.ext.servlet-1.1.1.jar
>>
>> present.  Any idea why not?
>>
>>
>> dale77 wrote:
>> >
>> > Does your cas-server-integration-restlet/pom.xml include these
>> entries?
>> > These are taken from our own CAS 3.3.1 build.
>> >
>> >   <dependency>
>> >    <groupId>org.restlet</groupId>
>> >    <artifactId>org.restlet</artifactId>
>> >    <version>1.1.1</version>
>> >    <scope>compile</scope>
>> >   </dependency>
>> >
>> >   <dependency>
>> >    <groupId>org.restlet</groupId>
>> >    <artifactId>org.restlet.ext.spring</artifactId>
>> >    <version>1.1.1</version>
>> >    <scope>runtime</scope>
>> >   </dependency>
>> >
>> >   <dependency>
>> >    <groupId>com.noelios.restlet</groupId>
>> >    <artifactId>com.noelios.restlet.ext.spring</artifactId>
>> >    <version>1.1.1</version>
>> >    <scope>runtime</scope>
>> >   </dependency>
>> >
>> > Note that com.noelios.restlet is a runtime dependency, and so should
>> > be included in the war file WEB-INF/lib. Our build has:
>> >
>> > com.noelios.restlet-1.1.1.jar
>> > com.noelios.restlet.ext.servlet-1.1.1.jar
>> > com.noelios.restlet.ext.spring-1.1.1.jar
>> > org.restlet-1.1.1.jar
>> > org.restlet.ext.spring-1.1.1.jar
>> >
>> >
>> > ________________________________
>> >
>> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> > On Behalf Of Ryan Andreasen
>> > Sent: Thursday, 13 November 2008 5:32 a.m.
>> > To: Yale CAS mailing list
>> > Subject: Re: CAS 3.3.1 Restlet Error on Deploy
>> >
>> >
>> > Scott,
>> >
>> > Thanks for your reply!  The org.restlet.ext.spring-1.1.1.jar and
>> > org.restlet-1.1.1.jar are included.  Were these the restlet 1.1.1 jars
>>
>> > you were referring to?  Are the other two com.noelios jars not
>> > required in 3.3.1?
>> >
>> > Thanks,
>> >
>> >
>> > On Wed, Nov 12, 2008 at 9:17 AM, Scott Battaglia
>> > <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >       You probably need the Restlet 1.1.1 jars.  I'm not sure why they
>> >       aren't included.  The stuff should not have even compiled if it
>> > wasn't
>> >       available.  And if they were required at compile it generally
>> > includes
>> >       them at Runtime.
>> >
>> >       -Scott
>> >
>> >       -Scott Battaglia
>> >       PGP Public Key Id: 0x383733AA
>> >       LinkedIn: http://www.linkedin.com/in/scottbattaglia
>> >
>> >
>> >
>> >
>> >       On Wed, Nov 12, 2008 at 10:36 AM, Ryan Andreasen
>> >       <[EMAIL PROTECTED]> wrote:
>> >       >
>> >       > I am in the process of upgrading to 3.3.1 and have gotten
>> > everything
>> >       > compiling.  However, when I deploy, I get the following
>> > exception:
>> >       >
>> >       > Unable to fully initialize the Restlet. No Restlet engine
>> > available.
>> >       > 2008-11-12 08:17:10,580 ERROR
>> >       > [com.noelios.restlet.ext.spring.RestletFrameworkServlet] -
>> <Context
>> >       > initialization failed>
>> >       > org.springframework.beans.factory.BeanCreationException: Error
>>
>> > creating bean
>> >       > with name 'root' defined in ServletContext resource
>> >       > [/WEB-INF/restlet-servlet.xml]: Instantiation of bean failed;
>> > nested
>> >       > exception is
>> > org.springframework.beans.BeanInstantiationException: Could not
>> >       > instantiate bean class [org.restlet.ext.spring.SpringRouter]:
>> > Constructor
>> >       > threw exception; nested exception is
>> > java.lang.RuntimeException: Unable to
>> >       > fully initialize the Restlet. No Restlet engine available.
>> >       >
>> >       > My pom.xml has a dependency to the project version of
>> >       > cas-server-integration-restlet.  My web.xml to activate the
>> RESTful
>> > API is
>> >       > configured as it was for 3.3 (which worked).  Do I need to
>> change
>> > this for
>> >       > 3.3.1?  Also, I looked at the .jar files packaged with the war
>> for
>> > 3.3 and
>> >       > saw 3 jars related to the Restlet:
>> >       > com.noelios.restlet.ext.servlet-1.1-M4.jar,
>> >       > com.noelios.restlet.ext.spring-1.1-M4.jar, and
>> >       > com.noelios.restlet-1.1-M4.jar; however, with 3.3.1 I only see
>> > one:
>> >       > com.noelios.restlet.ext.spring-1.1.1.jar
>> >       >
>> >       > Any help is greatly appreciated!  Thanks!
>> >       > --
>> >       > View this message in context:
>> > http://www.nabble.com/CAS-3.3.1-Restlet-Error-on-Deploy-tp20462781p204
>> > 62
>> > 781.html
>> >       > Sent from the CAS Users mailing list archive at Nabble.com.
>> >       >
>> >       > _______________________________________________
>> >       > Yale CAS mailing list
>> >       > [email protected]
>> >       > http://tp.its.yale.edu/mailman/listinfo/cas
>> >       >
>> >       _______________________________________________
>> >       Yale CAS mailing list
>> >       [email protected]
>> >       http://tp.its.yale.edu/mailman/listinfo/cas
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Yale CAS mailing list
>> > [email protected]
>> > http://tp.its.yale.edu/mailman/listinfo/cas
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/CAS-3.3.1-Restlet-Error-on-Deploy-tp20462781p20469
>> 975.html
>> Sent from the CAS Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to