I remember the archetype generated a class with values YES NO
like so.
I remembered the author I think it was Ted Husted.
public enum Answer {
YES,
NO;
}
On Thu, 28 May 2020 at 19:21, Dave Newton wrote:
> It contains an enum? That's not much to go on--there are some jQu
It contains an enum? That's not much to go on--there are some jQuery
archetypes for the jQuery plugin.
On Thu, May 28, 2020 at 1:49 PM Zahid Rahman wrote:
> Hi,
>
> I came across an archetype which has an enum class. It was designed by some
> one who has written a book on struts.
&
Hi,
I came across an archetype which has an enum class. It was designed by some
one who has written a book on struts.
Sorry I'm not good with names.
If you know the archetype I mean please give me the link to it.
I don't think it is one of these.
https://struts.apache.org/maven-archetypes/
Hello Jonathan.
As the other replies have pointed out, your code is using/extending
"import java.nio.file.DirectoryStream.Filter;". That is an import for a file
directory filter, and not a servlet filter.
You will want to replace the old import statement with "import
Eyou should use interface Filter in servlet package. Not from nio package
On Tue, May 5, 2020, 22:40 Dave Newton wrote:
> `import java.nio.file.DirectoryStream.Filter` is not a servlet filter.
>
> Dave
>
`import java.nio.file.DirectoryStream.Filter` is not a servlet filter.
Dave
Do you see any errors while you starting Tomcat?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Hello,
In order to study/practice using struts 2, I am using a the
struts2-archetype-starter maven archetype.
I've come across a problem trying to add my own filter, and was hoping
someone could point me in the right direction.
I'm using eclipse with maven for my build process, and Tomcat
El 11/10/2013 12:33 a.m., Lukasz Lenart escribió:
And you can start working on that issue [2] which contains link to
Wiki page with example CRUD app - O was planning add it as a part of
Struts distribution.
Started. Please check comments in issue.
I've selected it in the struts maven catalog:
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
It seems using the catalog the replacement is not performed.
El Jueves, 10 de Octubre de 2013 12:10:15 a.m., Lukasz Lenart escribió:
How did you use that archetype?
mvn
2013/10/10 Antonio Sánchez juntandolin...@gmail.com:
I've selected it in the struts maven catalog:
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
It seems using the catalog the replacement is not performed.
Please create an issue for that, thanks in advance!
Regards
--
Done.
I'm having problems with some other archetypes. I'll probable be
reporting about that.
Also, I'm missing a full CRUD archetype, actually a family of
CRUD+Spring/Guice+JPA/MyBatis... archetypes. If I get support and
guidances I can help with that.
Thanks.
El Jueves, 10 de Octubre de
2013/10/10 Antonio Sánchez juntandolin...@gmail.com:
Done.
Thanks!
I'm having problems with some other archetypes. I'll probable be reporting
about that.
Also, I'm missing a full CRUD archetype, actually a family of
CRUD+Spring/Guice+JPA/MyBatis... archetypes. If I get support
I'm using Netbenas and Tomcat.
Trying to run, browser displays:
Unable to instantiate Action, ${package}.IndexAction, defined for
'index' in namespace '/'${package}.IndexAction
Root cause:
java.lang.ClassNotFoundException: ${package}.IndexAction
in struts.xml:
action name=index
How did you use that archetype?
mvn archetype:generate -DarchetypeCatalog=http://struts.apcahe.org/ ?
And then ${package} should be replaced with package name you have defined.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl
Dear List,
today I had some trouble getting a new project working based on a maven
archetype.
I must admit that I don't have much maven experience, so some of this may
be n00b supidity.
I'm posting this anyway in the hope that it helps others.
It may be even worth to put parts
The README is a bit outdated (please register an issue), you can simple run:
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
and select archetype from the list, I'm using it all the time (but
with IDEA so I don't have a problems with Maven based projects)
Regards
--
Łukasz
2013/6/21 Antonio Sánchez juntandolin...@gmail.com:
Also blank application example.
My default locale is es_ES . Clicking on English still returns Spanish
text. Renaming package.properties to package_en.properties makes it work.
I'm not sure if this is the right place to report
Also blank application example.
My default locale is es_ES . Clicking on English still returns Spanish
text. Renaming package.properties to package_en.properties makes it work.
I'm not sure if this is the right place to report documentation, tutorial,
examples... issues. Please let me know.
2012/12/5 ChadDavis chadmichaelda...@gmail.com:
I noticed, in the convention plugin maven archetype, an appengine-web.xml
file in the WEB-INF file. Does this do anything? Is it just there to
support deployment of the WAR into the google environment?
Exactly. There is also dedicated
archetype-catalog.xml file during building a site, but I cannot figure
out how to filter archetype-catalog.xml to replace ${project.version}.
Any idea ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl
Lukasz -- I'm not a Maven guru but I found this blog post that may be helpful:
http://intellectualcramps.wordpress.com/2011/04/15/maven-archetype-creation-tips/
Best,
jb
From: Łukasz Lenart lukasz.len...@googlemail.com
To: Struts Users Mailing List user
-**archetype-blank
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hi there,
So I've been trying to use the struts2-archetype-blank maven archetype
to create a new project and it seems to generate a pom file that doesn't
work out of the box.
I run:
$ mvn archetype:generate \
-DarchetypeGroupId=org.apache.struts \
-DarchetypeArtifactId=struts2-archetype
\
-DarchetypeGroupId=org.apache.**struts \
-DarchetypeArtifactId=struts2-**archetype-blank
to use the struts2-archetype-blank maven archetype to
create a new project and it seems to generate a pom file that doesn't work
out of the box.
I run:
$ mvn archetype:generate \
-DarchetypeGroupId=org.apache.struts \
-DarchetypeArtifactId=struts2-archetype-blank
Define value for property
The other day I tried out a simple maven archetype (either
struts2-archetype-starter or -convention, I don't recall). Anyway, it's
one that comes configured with sitemesh.
What stroke me as odd was that the sample jsp's were in the path
src/webapp/jsp, and not inside WEB-INF.
Isn't it preferable
Anybody know of such a beast?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
I think AppFuse has archetypes like that...
http://www.appfuse.org
-Wes
On Fri, Jun 5, 2009 at 8:02 AM, Jim Collingsjlistn...@gmail.com wrote:
Anybody know of such a beast?
-
To unsubscribe, e-mail:
Ok, I made some minor tweaks and right now everything should be as
expected, please test it. Then I will register new Task with Jira ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail:
Hi,
Could someone try to test a new archetype which base on Convention
plugin and tell why it isn't working as expected? Index action is not
mapped and I18N is missing (properties files are where they should be
:-( )
mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven
The archetype is generating the jsps in the wrong location, it is
missing the namespace in the patch. For example, if I enter
actions.test for the package, the jsp is generated as
WEB-INF/content/hello.jsp, it should be WEB-INF/content/test/hello.jsp
musachy
On Wed, Apr 8, 2009 at 8:56 AM
2009/4/8 Musachy Barroso musa...@gmail.com:
The archetype is generating the jsps in the wrong location, it is
missing the namespace in the patch. For example, if I enter
actions.test for the package, the jsp is generated as
WEB-INF/content/hello.jsp, it should be WEB-INF/content/test/hello.jsp
musa...@gmail.com:
The archetype is generating the jsps in the wrong location, it is
missing the namespace in the patch. For example, if I enter
actions.test for the package, the jsp is generated as
WEB-INF/content/hello.jsp, it should be WEB-INF/content/test/hello.jsp
Archetype will setup
2009/4/8 Musachy Barroso musa...@gmail.com:
no, that would just instruct convention to scan from that package
down, what you need to do (I have no idea how archetypes work), is to
get the package name, and substring from actions., replace . by
/ and that will be the path under WEB-INF/content.
lol. I hadn't thought of that, no package, no subdir required, clever ;)
musachy
On Wed, Apr 8, 2009 at 11:16 AM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
2009/4/8 Musachy Barroso musa...@gmail.com:
no, that would just instruct convention to scan from that package
down, what you need
but it
wasn't there yet.
Radoslav Krivak
--
View this message in context:
http://www.nabble.com/Where-is-Struts-2-Blank-Archetype-2.1.6---tp22635191p22685807.html
Sent from the Struts - User mailing list archive at Nabble.com
2009/3/24 Radoslav Krivak rkri...@gmail.com:
Thanks Lukasz. I was actually checking your catalog few days ago but it
wasn't there yet.
I put it yesterday ;-) I've hope, I will be able to publish also
conventionize version before Easter
Regards
--
Lukasz
http://www.lenart.org.pl/
Hi,
I've just put the latest (unreleased version) here [1], you can use it
with command:
mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/
[1] http://www.lenart.org.pl/maven/
Regards
--
Lukasz
http://www.lenart.org.pl/
Hi,
where can I download blank archetype for Struts v 2.1.6? Is there some
spacial repository that I need to configure in maven other than
http://people.apache.org/repo/m2-snapshot-repository ?
When I run command from page
http://cwiki.apache.org/confluence/display/WW/Struts+2+Blank+Archetype
RadoK wrote:
where can I download blank archetype for Struts v 2.1.6?
It's in SVN [1]; I've had zero time to figure out how to put it
somewhere for a vote so it can be released.
Dave
[1] (I think)
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-blank
to date. I still use them,
then update the pom to pull down the later (2.1.6) version of struts. In fact,
i just did that the other day to start working on the JQuery plugin that I am
writing.
Technically I've updated the blank archetype, but just haven't had the
time to properly vet and release
Is there one of these for 2.1 yet? When I follow the links I end up
at a 2.0.11 version. I'm just wondering if the docs are behind or
this just isn't available yet.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
On Monday 02 March 2009 14:00:04 ChadDavis wrote:
Is there one of these for 2.1 yet? When I follow the links I end up
at a 2.0.11 version. I'm just wondering if the docs are behind or
this just isn't available yet.
As far as I know, Chad, the archetypes aren't up to date. I still use them,
-tutorial.html
Both tutorials require you to use maven to create the project using an
archetype stored in struts2-archetype-portlet on repository
http://people.apache.org/repo/m2-snapshot-repository.
The maven archetype:create fails because the struts2-archetype-portlet is no
longer
There's an issues for this in the issue tracker:
https://issues.apache.org/struts/browse/WW-2759
So until 2.1.3 is released, you have to check out and build the
artifact yourself. The code is at
http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-portlet/
Nils-H
On Tue, Dec 23
HI all,
I am trying to run the Struts Maven Archetype following the
instructions of the page
http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
following error. Any help on this?
C:\dev\projectsmvn archetype:create -DgroupId=tutorial
-DartifactId=tutorial -DarchetypeGroupId
All the SNAPSHOT archetypes were removed from Maven repo, you can try
add one of this option below
-DarchetypeRepository=http://people.apache.org/repo/m2-snapshot-repository
-DarchetypeCatalog=http://www.lenart.org.pl/maven
Regards
--
Lukasz
http://www.lenart.org.pl/
Thanks Lukasz,
I've tried each of the options you refer but the error remains.
On Thu, Sep 18, 2008 at 1:58 PM, Lukasz Lenart
[EMAIL PROTECTED] wrote:
All the SNAPSHOT archetypes were removed from Maven repo, you can try
add one of this option below
But try only
mvn archetype:generate
with one of previous option
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yanis Kekatos wrote:
HI all,
I am trying to run the Struts Maven Archetype following the
instructions of the page
http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
following error. Any help on this?
The starter archetype for 2.0.11.2 is here:
http://people.apache.org
Thanks Jeromy.
It works.
On Thu, Sep 18, 2008 at 2:29 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Yanis Kekatos wrote:
HI all,
I am trying to run the Struts Maven Archetype following the
instructions of the page
http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
following
On Thu, Sep 18, 2008 at 4:29 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
The starter archetype for 2.0.11.2 is ... awaiting formal release to the
maven repository.
It's done...
http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-starter/2.0.11.2/
(And the staging repo has been
I have been unable to continue with this until now.
Funny thing is that it is now working.
Perhaps a typo on my part?
I did install m2eclipse and then I ran into the problem.
Not sure that stopping my machine and starting it again would have an
impact?
Anyways thanks for your time and patience!
=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.5-SNAPSHOT -DremoteRepositories=
http://people.apache.org/repo/m2-snapshot-repository
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO
To: Struts Users Mailing List
Subject: Maven struts2-archetype-starter error
Hi,
I very new to Struts2 and Maven.
I ran this command with version 2.0.9 on the 6th of May without a
problem.
mvn archetype:create -DgroupId=tutorial \
-DartifactId=tutorial
\
-DarchetypeArtifactId=struts2-archetype-starter \
-DarchetypeVersion=2.0.5-SNAPSHOT \
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
When I run it now I get an error.
[INFO
I'm trying to run the following command :
mvn archetype:create -DgroupId=tutorial
-DartifactId=tutorial
-DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-blank
-DarchetypeVersion=2.0.9-SNAPSHOT
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot
from struts2-archetype-starter to run
under
WebSphere 6.1.0.7 (the most recent version). When I
navigate to the index.action, I get a 404 message:
Error 404: SRVE0190E: File not found:
/index.action.
In the server logs, it looks as though processing
begins but then gets cut off somehow
Users Mailing List user@struts.apache.org
Sent: Saturday, June 16, 2007 8:49 PM
Subject: Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7
I think I found the answer -- it had to do with where
applicationContext.xml was. Since helloWorldAction is
wired up through Spring
I am trying to get started with Struts2 using Maven
archetypes, and have had trouble getting the .war file
generated from struts2-archetype-starter to run under
WebSphere 6.1.0.7 (the most recent version). When I
navigate to the index.action, I get a 404 message:
Error 404: SRVE0190E: File
I used the Maven Archetype to create a new web application for Struts 2,
as described here: http://struts.apache.org/2.x/docs/ready-set-go.html
I ran:
mvn archetype:create -DgroupId=tutorial \
-DartifactId=tutorial \
-DarchetypeGroupId
On 1/23/07, Manos Batsis [EMAIL PROTECTED] wrote:
Is there any M2 archetype or sample POM availabe for Struts 1.x webaps
with webdoclet, nergefiles and all working? I'm trying to create a POM
and extract an archetype from it, but sincde i got to various issues i
finally wondered whether a nice
Hello,
Is there any M2 archetype or sample POM availabe for Struts 1.x webaps
with webdoclet, nergefiles and all working? I'm trying to create a POM
and extract an archetype from it, but sincde i got to various issues i
finally wondered whether a nice soul has already gone through
David Durham wrote:
Now my log4j.xml (relevant entries only):
category name=org.apache additivity=false
level value=debug/
appender-ref ref=console/
/category
category name=com.opensymphony additivity=false
level value=debug/
appender-ref ref=console/
/category
A few questions all bundled into one e-mail. First, I'm attempting to use the
jasper plug-in for struts 2, and have a maven archetype as my starting point.
I uncommented these lines in my pom.xml:
dependency
groupIdjasperreports/groupId
artifactIdjasperreports
contents
- Original Message -
From: Mark Menard [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, November 16, 2006 11:08 PM
Subject: Re: [s2] mvn archetype
On 11/16/06 11:03 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/16/06, Mark Menard [EMAIL
I've tried to set up a new project using the struts2 mvn archetype, but to
no avail.
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve
On 11/16/06, Mark Menard [EMAIL PROTECTED] wrote:
I've tried to set up a new project using the struts2 mvn archetype, but to
no avail.
What did you type?
Where can I get the archetype file? I've downloaded and built the latest
snapshot using svn and mvn.
If you've built the archetype
On 11/16/06 11:03 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/16/06, Mark Menard [EMAIL PROTECTED] wrote:
I've tried to set up a new project using the struts2 mvn archetype, but to
no avail.
What did you type?
mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial
On 11/16/06, Mark Menard [EMAIL PROTECTED] wrote:
mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial
-DarchetypeGroupId=net.vitarara.dan
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.2-SNAPSHOT
You also need
-DremoteRepositories=http://people.apache.org
71 matches
Mail list logo