Matt,
Is this the jar you are looking for ?
The applicationContext.xml in it is empty .
How come ?
mraible wrote:
>
> It is a classpath problem as far as I can tell - the code for loading
> context files in BaseControllerTestCase is as follows:
>
> 23 protected String[] getConfigLocat
I would suggest searching the archives (via nabble or markmail) for
"CXF" to see how was interested in doing this migration. In reality,
it should be pretty simple. I'd do it myself, but there's skiing to
do this weekend. ;-)
http://appfuse.org/display/APF/Mailing+Lists
Matt
On Jan 11, 20
You should be able to use a basic archetype to achieve what you're
looking for. At least that's the easiest way at this point. After
creating the project, modify web.xml to remove the framework's front
controller and any other filters/servlets that are needed for it.
Then in the root pom.xm
It is a classpath problem as far as I can tell - the code for loading
context files in BaseControllerTestCase is as follows:
23 protected String[] getConfigLocations() {
24 setAutowireMode(AUTOWIRE_BY_NAME);
25 return new String[] {
26 "classpath:/applica
Do you need any other info.
Could it be a classpath problem ?
Should I run mvn -X test > log ?
mraible wrote:
>
> If your PersonControllerTest extends BaseControllerTestCase and
> you've successfully installed the "core" module - this shouldn't be
> happening. I'd like to say it's a bug, bu
Somehow extra elements got generated, I'm not sure how it happened but stuff
like this "" was
added to the context in addition to the tags that were already in there and
which looked like your description. I don't think I put this in there but
once it was removed everything worked. I now have ma
If your PersonControllerTest extends BaseControllerTestCase and
you've successfully installed the "core" module - this shouldn't be
happening. I'd like to say it's a bug, but I haven't heard of anyone
else experiencing this issue.
Matt
On Jan 11, 2008, at 2:59 PM, os57741 wrote:
The tes
The test does NOT pass.
It gives again the same error
###
---
Test set: nl.osix.dsm.webapp.controller.PersonControllerTest
---
Enunciate looks good...
Do you have any suggestion to begin converting core to XFIRE app (other than
using enunciate)?
RD
mraible wrote:
>
> You are correct, it cannot be deployed as a webapp out-of-the-box.
> There's an open issue for doing that.
>
> http://issues.appfuse.org/browse/APF-897
Ok, the problem occurred because the build process stops if there's a test
failure on core. I didn't realize that.
Thanks,
Marc
--
View this message in context:
http://www.nabble.com/Unable-to-load-class-declared-as-xyz-from-Spring-web-module-tp14753917s2369p14765204.html
Sent from the AppFus
If you run "mvn test" from project3\web, does your
PersonControllerTest pass? The only thing I can think of is there's a
web/src/main/resources/applicationContext.xml that's overriding the
one from core.
Matt
On Jan 11, 2008, at 2:24 PM, os57741 wrote:
My C:\source\project3\core\src\mai
My C:\source\project3\core\src\main\resources\applicationContext.xml
##
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://w
Please post the contents of core/src/main/resources/
applicationContext.xml and make sure you don't have a web/src/main/
resources/applicationContext.xml file.
Matt
On Jan 11, 2008, at 1:06 PM, os57741 wrote:
Matt,
One step further.
I have did as you said.
(there is nothing in the
project3/
Matt,
One step further.
I have did as you said.
(there is nothing in the
project3/web/src/main/webapp/WEB-INF/applicationContext.xml file)
Then I defined the PersonControllerTest and modified the
dispatcher-servlet.xml with PersonController bean
When I run the PersonControl
Mike: thank you. I'll take a look at this document. By the way, is it a
way that I can send an email when an error causes Yikes to be displayed?
Thanks
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 9:25 AM
To: users@appfuse.de
Ok, removed those declarations. Well, that took care of the database errors
during mvn install. Still got the Unable to load class declared as mapping
class yadayada error running appfuse:gen from the web dir.
Hmmm. It's pretty vanilla. Wonder what it could be?
thanks so far.
Marc
--
View thi
Ah, I can't believe I missed that. That did it. Thank you very much.
Nice project by the way. And thanks a lot for all the help you give to the
community, it's really something.
~Colin
mraible wrote:
>
> Your test should have setNameOfYourBean rather than setC. Try
> changing it to setFindi
I would try removing all of the following - AppFuse already defines
these for you.
On Jan 11, 2008, at 10:53 AM, mschipperheyn wrote:
classpath:hibernate.cfg.xml
Oh yeah, I also added all the references to the model classes in the
hibernate.cfg.xml file
cheers,
Marc
--
View this message in context:
http://www.nabble.com/Unable-to-load-class-declared-as-xyz-from-Spring-web-module-tp14753917s2369p14761726.html
Sent from the AppFuse - User mailing list ar
Ok, I/it failed again. Here's what I did.
* Created a new Spring modular project
* went into the dir: mvn
* went into core: mvn install eclipse:eclipse
* went into web: mvn install eclipse:eclipse
* copied my model classes into the project: they are annoted for
JPA/Hibernate
* Updated applicationC
Ok. I did try adding the new DAOs here comment before. Not the other one.
I'll start over on a fresh install and see what happens and post it here.
cheers,
Marc
mraible wrote:
>
> There's a couple comments that AMP looks for in
> core/src/main/resources/applicationContext.xml. Maybe that's c
Your personManager and personDao bean definitions should both be in
core/src/main/resources/applicationContext.xml.
Matt
On Jan 11, 2008, at 10:16 AM, os57741 wrote:
Matt,
Sorry, to bother you again, but I still have problem, probably due
a lack of
knowledge cq experience.
In the core m
Matt,
Sorry, to bother you again, but I still have problem, probably due a lack of
knowledge cq experience.
In the core module I have defined a personDao interface.
The personDao test is running.
I get a problem as soon as I run jetty in the web module.
It probably has to do with the personMa
Your test should have setNameOfYourBean rather than setC. Try
changing it to setFindingAidController instead of setC.
Matt
On Jan 11, 2008, at 10:07 AM, Jearil wrote:
Yes it is.
mraible wrote:
Is your groupId gov.nysed.archives.Nimbus?
On Jan 11, 2008, at 6:38 AM, Jearil wrote:
I'v
If you do the tutorials and use the "mvn" commands - you should be
able to complete them regardless of which IDE you're using. Are you
using the latest version of Eclipse? If so, you might try removing
the war dependency and changing it to target/warpath/*.war.jar.
Matt
On Jan 10, 2008, at
Yes it is.
mraible wrote:
>
> Is your groupId gov.nysed.archives.Nimbus?
>
> On Jan 11, 2008, at 6:38 AM, Jearil wrote:
>
>>
>> I've tried both. In my IDE I'm using IntelliJ IDEA's maven support
>> (utilizing
>> an external maven client). I've also tried the build via the
>> command line
If you're using 2.0.1, you're likely already using
MySQL5InnoDBDialect. If that's the case, I don't know how to fix this
issue.
Matt
On Jan 11, 2008, at 9:58 AM, mschipperheyn wrote:
Ok, not sure how to do this. My setup is completely vanilla. The
activate
Innodb checkbox is checked on
So, that's prob it. I copied it from my project from a fe months ago. I'll re
generate and be more careful.
thanks,
Marc
mraible wrote:
>
> What version of AppFuse are you using? Why does your
> applicationContext.xml look so different from the one that ships with
> the regular "core" mod
Ok, not sure how to do this. My setup is completely vanilla. The activate
Innodb checkbox is checked on mySQL administrator and default storage is set
to InnoDB. Yes, looks like where on InnoDB. Jeez, I sound like green don't
I?
Cheers,
Marc
mraible wrote:
>
> It's not AppFuse that's doing thi
There's a couple comments that AMP looks for in
core/src/main/resources/applicationContext.xml. Maybe that's causing
the problem?
Matt
On 1/11/08, mschipperheyn <[EMAIL PROTECTED]> wrote:
>
> Well, I generated the project two or three days ago, so it should be the
> latest version. I
Well, I generated the project two or three days ago, so it should be the
latest version. I did use the src directory of my "old project" because I
wanted to continue developing it. Perhaps this is the reason?
cheers,
Marc
mraible wrote:
>
> What version of AppFuse are you using? This should'v
Is your groupId gov.nysed.archives.Nimbus?
On Jan 11, 2008, at 6:38 AM, Jearil wrote:
I've tried both. In my IDE I'm using IntelliJ IDEA's maven support
(utilizing
an external maven client). I've also tried the build via the
command line
tool and maven 2.0.7.
For a bit more context, her
What version of AppFuse are you using? This should've been fixed in
2.0.1.
Matt
On Jan 11, 2008, at 5:42 AM, mschipperheyn wrote:
Hi,
I have a Spring modular project and I'm trying to run appfuse:gen
from the
web module.
I have run appfuse:gen from the core module and then mvn install
It's not AppFuse that's doing this, it's Hibernate's SchemaExport
command. Make sure you're using a MySQL5InnoDBDialect.
Matt
On Jan 11, 2008, at 4:49 AM, mschipperheyn wrote:
Hi,
There's a problem in database generation that happens on many of
the appfuse
mvn commands. Appfuse (one of i
What version of AppFuse are you using? Why does your
applicationContext.xml look so different from the one that ships with
the regular "core" module?
Matt
On Jan 11, 2008, at 4:19 AM, mschipperheyn wrote:
Hi, I'm trying to run appfuse:gen on a spring modular project but
it doesn't
seem
You may want to have a look at the ACEGI tag libraries to help here:
http://www.acegisecurity.org/guide/springsecurity.html#taglib
Mike
On 1/11/08, Ding, Qin <[EMAIL PROTECTED]> wrote:
>
> I modified error.jsp. I have a requirement that admin can see the error
> message from the error stack on
I modified error.jsp. I have a requirement that admin can see the error
message from the error stack on the page but not regular user, who only
see the simple message. Therefore, I need to have the access to the
user object. This is what I did:
<%
User user = null;
I've tried both. In my IDE I'm using IntelliJ IDEA's maven support (utilizing
an external maven client). I've also tried the build via the command line
tool and maven 2.0.7.
For a bit more context, here's the error:
testHandleRequest(gov.nysed.archives.Nimbus.webapp.controller.FindingAidControl
Hi,
I have a Spring modular project and I'm trying to run appfuse:gen from the
web module.
I have run appfuse:gen from the core module and then mvn install from the
root (I also tried from core).
I get
[INFO] Unable to load class declared as in the configuration:
this POJO is the first one men
Hi,
There's a problem in database generation that happens on many of the appfuse
mvn commands. Appfuse (one of its components) tries to create both and index
and a foreign key constraint that have the same name. MySQL 5.0.45 doesn't
like this. Here's the relevant error message:
alter table Citie
Hi, I'm trying to run appfuse:gen on a spring modular project but it doesn't
seem to be creating the Spring bean definitions. I run
mvn appfuse:gen -Dentity=Country
from the core directory. It sais everything is ok. Sample-data gets created.
But the applicationContext.xml isn't changed. From th
On 1/11/08, ujjala <[EMAIL PROTECTED]> wrote:
>
>
> I applied the folloeing proceedure but now i am not able to login . My
> first
> page is not coming .Its showing following error in log file.
>
>
> [1/11/08 11:00:20:250 IST] 543f7ab0 WebGroup I SRVE0181I: [Appfuse]
> [/AuditToo
42 matches
Mail list logo