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 som
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 stru
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
javax.servlet.F
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: user-h...@struts.apache
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,
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.
---
2013/10/10 Antonio Sánchez :
> 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 s
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, 1
2013/10/10 Antonio Sánchez :
> 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
--
Łukasz
+ 48 606 32
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?
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
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:
/jsp/in
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
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 of t
2013/6/21 Antonio Sánchez :
> 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,
> ex
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 :
> 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 Ini
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
To: Struts Users Mailing List
Sent: Wednesd
2011/11/22 David F. Newman :
> Interesting. That worked. I had tried 2.2.3 and 2.2.3.1 with the same
> results. I had not tried going back to earlier versions. I'll stick with
> that version for now.
Ok, I solved that problem, but have one more. I would like to create
archety
explicitly specify
-DarchetypeVersion (or at least I generally do). For 2.2.1 it works, for
2.2.3 the property isn't filled in.
Dave
On Mon, Nov 21, 2011 at 6:11 PM, David F. Newmanwrote:
mvn archetype:generate \
-DarchetypeGroupId=org.apache.**struts \
-DarchetypeArtifactId=struts2-**
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-blan
archetypeGroupId=org.apache.**struts \
> -DarchetypeArtifactId=struts2-**archetype-blank
>
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
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&
I think AppFuse has archetypes like that...
http://www.appfuse.org
-Wes
On Fri, Jun 5, 2009 at 8:02 AM, Jim Collings wrote:
> Anybody know of such a beast?
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For
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
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: user-unsubscr...@str
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
wrote:
> 2009/4/8 Musachy Barroso :
>> no, that would just instruct convention to scan from that package
>> down, what you need to do (I have no idea how archetypes wor
2009/4/8 Musachy Barroso :
> 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. If you
an't
determine were to put the files at runtime, then you can either 1)
don't let users pick the package, 2) use @Result annotations to
indicate where the results are (kind of defeating the purpose of using
Convention)
musachy
On Wed, Apr 8, 2009 at 10:24 AM, Lukasz Lenart
wrote:
> 200
2009/4/8 Musachy Barroso :
> 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/tes
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
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/
2009/3/24 Radoslav Krivak :
> 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/
---
king your catalog few days ago 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 mai
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/
--
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-arche
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
en't up 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
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 the
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
Fo
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, D
-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 on the
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
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
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
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]
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
>
> -DarchetypeRepository=http://people.ap
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/
-
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\projects>mvn archetype:create -DgroupId=tutorial
-DartifactId=tutorial -DarchetypeGrou
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!
May 10, 2008 8:42 PM
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 \
-
hetypeGroupId=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: '
\
-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-sna
e 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, if Spring isn't working, then
the app doesn't work. And
.
Richard
--- Richard Dominguez <[EMAIL PROTECTED]> wrote:
> 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
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: Fil
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 wondere
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
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:
jasperreports
jasperreports
1.2.1
I then fol
David Durham wrote:
Now my log4j.xml (relevant entries only):
But I don't get DEBUG messages from struts in catalina.out. I only see
INFO messages. I do see DEBUG messages from my action classes. I
haven't checked struts 2 source code to see if the
--
From: "Mark Menard" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
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
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
-DremoteRepositorie
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?
m
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'v
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 re
71 matches
Mail list logo