Thanks.  The test scope is a copy-and-paste typo.  Removing it did the trick.

On Fri, Jun 17, 2011 at 9:52 PM, Josh Canfield <joshcanfi...@gmail.com> wrote:
> Ah, I see you're excluding tapestry-annotations, and including
> tapestry5-annotations, but only for test scope. Drop that and you
> should be gold
>
> On Fri, Jun 17, 2011 at 9:48 PM, Josh Canfield <joshcanfi...@gmail.com> wrote:
>> From your pom:
>>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry-core</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>      <exclusions>
>>>        <exclusion>
>>>                <artifactId>tapestry-annotations</artifactId>
>>>                <groupId>org.apache.tapestry</groupId>
>>>        </exclusion>
>>>      </exclusions>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry5-annotations</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>      <scope>test</scope>
>>>    </dependency>
>>
>> Why are you excluding tapestry-annotations and only including them in
>> test scope? They are required at runtime for tapestry-core, thus the
>> declared dependency :)
>>
>> Josh
>>
>> On Fri, Jun 17, 2011 at 8:48 PM, Ben Tomasini <ben.tomas...@gmail.com> wrote:
>>> I am trying to use Tapestry  5.3 (5.3.1-SNAPSHOT) in my Maven project
>>> after doing a gradle install of the head of trunk.  When starting up
>>> Jetty on my app, I get the following exception.  This project was
>>> working with tapestry 5.2.4.  Any help would be appreciated.
>>>
>>>
>>>
>>> ** Jetty startup output:
>>>
>>> [INFO] Starting jetty 6.1.16 ...
>>> 2011-06-17 20:31:01.280::INFO:  jetty-6.1.16
>>> 2011-06-17 20:31:01.549::INFO:  No Transaction manager found - if your
>>> webapp requires one, please configure one.
>>> [INFO] ioc.RegistryBuilder Adding module definition for class
>>> org.apache.tapestry5.ioc.services.TapestryIOCModule
>>> [INFO] ioc.RegistryBuilder Adding module definition for class
>>> org.apache.tapestry5.upload.services.UploadModule
>>> [INFO] ioc.RegistryBuilder Adding module definition for class
>>> org.apache.tapestry5.services.TapestryModule
>>> 2011-06-17 20:31:30.132::WARN:  failed app
>>> java.lang.ArrayStoreException:
>>> sun.reflect.annotation.TypeNotPresentExceptionProxy
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
>>>        at 
>>> sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
>>>        at java.lang.reflect.Method.declaredAnnotations(Method.java:693)
>>>        at java.lang.reflect.Method.getAnnotation(Method.java:679)
>>>        at 
>>> org.apache.tapestry5.ioc.internal.util.InternalUtils.getServiceId(InternalUtils.java:1342)
>>>        at 
>>> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.addServiceDef(DefaultModuleDefImpl.java:420)
>>>        at 
>>> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:228)
>>>        at 
>>> org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.<init>(DefaultModuleDefImpl.java:152)
>>>        at 
>>> org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:131)
>>>        at 
>>> org.apache.tapestry5.internal.TapestryAppInitializer.addModules(TapestryAppInitializer.java:195)
>>>        at 
>>> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:145)
>>>        at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:90)
>>>
>>> ** Details:
>>>
>>> On Ubuntu natty.  Running Sun JDK 6
>>>
>>> ** Maven depdendencies:
>>>
>>> <dependencies>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry-core</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>      <exclusions>
>>>        <exclusion>
>>>                <artifactId>tapestry-annotations</artifactId>
>>>                <groupId>org.apache.tapestry</groupId>
>>>        </exclusion>
>>>      </exclusions>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry5-annotations</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>      <scope>test</scope>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry-test</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>      <scope>test</scope>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.apache.tapestry</groupId>
>>>      <artifactId>tapestry-upload</artifactId>
>>>      <version>${tapestry-release-version}</version>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.testng</groupId>
>>>      <artifactId>testng</artifactId>
>>>      <version>5.12.1</version>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>javax.servlet</groupId>
>>>      <artifactId>servlet-api</artifactId>
>>>      <version>2.5</version>
>>>      <scope>provided</scope>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.springframework</groupId>
>>>      <artifactId>spring-jdbc</artifactId>
>>>      <version>3.0.5.RELEASE</version>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>postgresql</groupId>
>>>      <artifactId>postgresql</artifactId>
>>>      <version>8.4-702.jdbc4</version>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>joda-time</groupId>
>>>      <artifactId>joda-time</artifactId>
>>>      <version>1.6.2</version>
>>>    </dependency>
>>>    <dependency>
>>>      <groupId>org.mockito</groupId>
>>>      <artifactId>mockito-all</artifactId>
>>>      <version>1.8.5</version>
>>>      <scope>test</scope>
>>>    </dependency>
>>>    <dependency>
>>>        <groupId>cglib</groupId>
>>>        <artifactId>cglib-nodep</artifactId>
>>>        <version>2.2.2</version>
>>>    </dependency>
>>>    <dependency>
>>>        <groupId>c3p0</groupId>
>>>        <artifactId>c3p0</artifactId>
>>>        <version>0.9.1.2</version>
>>>    </dependency>
>>>  </dependencies>
>>>
>>> ...
>>>
>>>  <properties>
>>>        <tapestry-release-version>5.3.1-SNAPSHOT</tapestry-release-version>
>>>  </properties>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to