Re: Cannot execute Maven goal to build Tapestry 5.4.x from Getting started guide nor from the example source using Maven

Andreas Ernst <[email protected]> Sun, 7 Jul 2019 13:17:14 +0200
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Hi Tobias,

try it this way with the maven archetype:

https://tapestry.apache.org/getting-started.html

HTH,
Andreas

Am 07.07.19 um 12:42 schrieb Tobias Scholze:
> Thanks Andreas!
> 
> This was indeed set to 1.5.
> 
> Nevertheless my next problem during the `mvn install` command is:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on
> project hotels: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was
> an error in the forked process
> [ERROR] org.testng.TestNGException:
> [ERROR] Cannot find class in classpath:
> org.apache.tapestry5.test.SeleniumLauncher
> 
> Maybe the example is not the best entry point to just "clone and run
> it"-experience. I'll try it to set it up newly from ground level.
> 
> Best wishes,
> 
> - Tobi
> 
> 
> Am So., 7. Juli 2019 um 12:32 Uhr schrieb Andreas Ernst <[email protected]>:
> 
>> Hi Tobias,
>>
>> Am 07.07.19 um 12:24 schrieb Tobias Scholze:
>>> Hi Andreas,
>>> thanks for your fast reply!
>>> Gosh, I over read the "tip" in the error message. But do this means, that
>>> Apache Tapestry _requires_ a JDK 1.5?
>>>
>>> I double checked it and I'm running 1.8.
>>
>> check your POM, i am running with JDK 1.8:
>>
>>               <plugin>
>>                   <groupId>org.apache.maven.plugins</groupId>
>>                   <artifactId>maven-compiler-plugin</artifactId>
>>                   <version>3.8.1</version>
>>                   <configuration>
>>                       <source>1.8</source>
>>                       <target>1.8</target>
>>                       <optimize>true</optimize>
>>                   </configuration>
>>               </plugin>
>>
>> HTH,
>> Andreas
>> --
>> ae | Andreas Ernst | IT Spektrum
>> Postfach 5, 65612 Beselich
>> Schupbacher Str. 32, 65614 Beselich, Germany
>> Tel: +49-6484-91002 Fax: +49-6484-91003
>> [email protected] | www.ae-online.de
>> www.tachyon-online.de
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 

-- 
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[email protected] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]