tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Scholze <tobias.scho...@gmail.com>
Subject Re: Cannot execute Maven goal to build Tapestry 5.4.x from Getting started guide nor from the example source using Maven
Date Sun, 07 Jul 2019 11:58:50 GMT
Further approaches:

I tried to use:

"mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
-DarchetypeCatalog=tapestry.apache.org"

 to use an older maven plugin version. But this will lead to a:

"""
[INFO] No catalog defined. Using internal catalog
[INFO] No archetype defined. Using maven-archetype-quickstart
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: internal -> org.apache.maven.archetypes:maven-archetype-archetype (An
archetype which contains a sample archetype.)
[...]
"""

Am So., 7. Juli 2019 um 13:31 Uhr schrieb Tobias Scholze <
tobias.scholze@gmail.com>:

> Hi Andreas,
>
> this was my first approach. After recognizing that the command on the
> tapestry website is outdated see JIRA:
> https://issues.apache.org/jira/browse/TAP5-2579) and finding some helpful
> comments in the issue, I'll always get the error:
>
> """
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate
> (default-cli) on project standalone-pom:
> org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error
> merging velocity templates: Lexical error,   Encountered: "\ufffd" (65533),
> after : "" at
> archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line
> 16, column 21]
> """
>
> It seems that I'm not the only one:
> https://issues.apache.org/jira/browse/TAP5-2579?focusedCommentId=16770261&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16770261
>
> Kinds regards,
>
> Tobi
>
> Am So., 7. Juli 2019 um 13:17 Uhr schrieb Andreas Ernst <ae@ae-online.de>:
>
>> 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 <
>> ae@ae-online.de>:
>> >
>> >> 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
>> >> ae@ae-online.de | www.ae-online.de
>> >> www.tachyon-online.de
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> >> For additional commands, e-mail: users-help@tapestry.apache.org
>> >>
>> >>
>> >
>>
>> --
>> ae | Andreas Ernst | IT Spektrum
>> Postfach 5, 65612 Beselich
>> Schupbacher Str. 32, 65614 Beselich, Germany
>> Tel: +49-6484-91002 Fax: +49-6484-91003
>> ae@ae-online.de | www.ae-online.de
>> www.tachyon-online.de
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message