-1 also for me. mvn clean install fails on running the step
Apache JSPWiki markdown support .................... *FAILURE* Previously the markdown support step was not part of the main build (separate branch?) and did not block the war creation. I never got it running previously as well. I assume it requires a separate local install of some markdown-support components ? The markdown support step fails with this error: [*ERROR*] Failed to execute goal on project jspwiki-markdown: *Could not resolve dependencies for project org.apache.jspwiki:jspwiki-markdown:jar:2.11.0.M2-SNAPSHOT: Failure to find org.apache.jspwiki:jspwiki-main:jar:tests:2.11.0.M2-SNAPSHOT in https://repository.apache.org/snapshots <https://repository.apache.org/snapshots> was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced* -> *[Help 1]* BR, dirk On Wed, Dec 5, 2018 at 2:14 AM Murray Altheim <murra...@altheim.com> wrote: > Hi all, > > In summary of the rest of this message I must also withdraw my earlier +1 > vote as I've had a bit more time and found some build and deployment > issues. > > * Java version "1.8.0_172" on Ubuntu Linux 18.10 on 64 bit Intel hardware. > > I had no issues building the war package but note that the portable > project fails: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack > (unpack-wikipages-personal) on project jspwiki-portable: Artifact has not > been packaged yet. When used on reactor artifact, unpack should be > executed after packaging: see MDEP-98. -> [Help 1] > > As I'm not using the portable version I deployed the JSPWiki.war file to a > new > installation of Tomcat 8.5.35. > > This fails with a white screen using the 'default' template: > > 05-Dec-2018 14:01:27.212 INFO [main] > org.apache.catalina.startup.Catalina.start Server startup in 1910 ms > 2018-12-05 14:01:37,052 [http-nio-6060-exec-3] FATAL > org.apache.wiki.ui.TemplateManager Wiki:/wiki/ > Wiki:http://localhost:6060/wiki/ - findJSP() was asked to find a null > template > 2018-12-05 14:01:37,053 [http-nio-6060-exec-3] ERROR > org.apache.wiki.tags.WikiTagBase Wiki:/wiki/ > Wiki:http://localhost:6060/wiki/ - Illegal arguments to findJSP(); please > check l > org.apache.wiki.InternalWikiException: Illegal arguments to findJSP(); > please check logs. > at org.apache.wiki.ui.TemplateManager.findJSP(TemplateManager.java:311) > at org.apache.wiki.tags.IncludeTag.doEndTag(IncludeTag.java:74) > at org.apache.jsp.Wiki_jsp._jspService(Wiki_jsp.java:182) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > > It also fails using the 'haddock' template: > > 05-Dec-2018 14:03:35.323 INFO [main] > org.apache.catalina.startup.Catalina.start Server startup in 1964 ms > 2018-12-05 14:03:38,074 [http-nio-6060-exec-1] INFO > org.apache.wiki.util.PropertyReader Wiki:/wiki/ > Wiki:http://localhost:6060/wiki/ - No jspwiki.custom.config defined for > this context, looking for custom properties file with default name of: > /jspwiki-custom.properties > 2018-12-05 14:03:38,130 [http-nio-6060-exec-1] WARN > org.apache.wiki.tags.IncludeTag Wiki:/wiki/ > Wiki:http://localhost:6060/wiki/ - Including failed, got a servlet > exception from sub-page. Rethrowing the exception to the JSP engine. > org.apache.jasper.JasperException: java.lang.ClassCastException: > java.lang.Boolean cannot be cast to java.lang.String > at > > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:598) > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > ... > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast > to java.lang.String > at > > org.apache.wiki.preferences.Preferences.parseJSONPreferences(Preferences.java:145) > at > > org.apache.wiki.preferences.Preferences.reloadPreferences(Preferences.java:120) > at > > org.apache.wiki.preferences.Preferences.setupPreferences(Preferences.java:83) > at > > org.apache.jsp.templates.haddock.commonheader_jsp._jspService(commonheader_jsp.java:228) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476) > ... 60 more > 2018-12-05 14:03:38,132 [http-nio-6060-exec-1] ERROR > org.apache.wiki.tags.WikiTagBase Wiki:/wiki/ > Wiki:http://localhost:6060/wiki/ - java.lang.ClassCastException: > java.lang.Boolean cannot be cast to java.lang.String > javax.servlet.jsp.JspException: java.lang.ClassCastException: > java.lang.Boolean cannot be cast to java.lang.String > at org.apache.wiki.tags.IncludeTag.doEndTag(IncludeTag.java:91) > at > > org.apache.jsp.templates.haddock.ViewTemplate_jsp._jspx_meth_wiki_005fInclude_005f0(ViewTemplate_jsp.java:498) > at > > org.apache.jsp.templates.haddock.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:179) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > > Hope this is of some help... > > Cheers, > > Murray > > ........................................................................... > Murray Altheim <murray18 at altheim dot com> = = === > http://www.altheim.com/murray/ === > === > = = === > In the evening > The rice leaves in the garden > Rustle in the autumn wind > That blows through my reed hut. > -- Minamoto no Tsunenobu > > > >