Re: More Eclipse Upgrading Pains: java.lang.ClassNotFoundException
Re: More Eclipse Upgrading Pains: java.lang.ClassNotFoundException
- Subject: Re: More Eclipse Upgrading Pains: java.lang.ClassNotFoundException
- From: Chuck Hill <email@hidden>
- Date: Sat, 31 Jan 2009 21:56:34 -0800
On Jan 31, 2009, at 9:46 PM, Gaastra Dennis - WO Lists wrote:
Hi Chuck,
Everything stock.
But what/where is dist?
When changing: Properties for testFramework -> WOLips Development ->
Build Style -> from Ant to Incremental
things seemed to work better.
However, this always used to be set to "Ant" so that the
testFramework would always be installed automatically after every
change. Does this not work anymore in WOLips 3.4?
Is that build.xml something that you wrote or modified, or what WOLips
creates for a new project?
Chuck
On 31-Jan-09, at 9:04 PM, Chuck Hill wrote:
On Jan 31, 2009, at 8:23 PM, Gaastra Dennis - WO Lists wrote:
In the Run Configuration -> Launch Arguments, "other" has been
defaulted with:
${working_dir_loc_WOLips:testApp}
Yes, we are using the old-fashioned WO/NEXT Framework layout, but
without the version links.
I mean the project layout. If you are not using the layout that is
set when a new project is created, then WOLips will not just work.
As they say in the glass store, if you break it, you get to keep
the pieces. Are the projects getting built under dist/ ?
With command line launching, the value is being set correctly to
something like:
file:/Library/Frameworks/testFramework.framework/Resources/
TestSubDirectory/TestFile
but not the WOLips launcher...
I suspect something odd in your application project.
Chuck
On 31-Jan-09, at 8:09 PM, Chuck Hill wrote:
On Jan 31, 2009, at 8:06 PM, Gaastra Dennis - WO Lists wrote:
Hi Chuck et al,
We also noticed that:
resourceManager.pathURLForResourceNamed(FILE_REF,
"testFramework" , null)
within testFramework does not work anymore when running testApp
from WOLips; it returns now null.
In 3.3, it used to work and in deployment mode it also works.
Please help.
It sounds like your launch config is wrong. Are you using the
Fluffy Bunny Layout exactly, or making modifications to it? What
is the working directory configured to be in the launcher?
Chuck
On 31-Jan-09, at 7:00 PM, Chuck Hill wrote:
Try creating a new launch config in Eclipse.
Chuck
On Jan 30, 2009, at 4:17 PM, Gaastra Dennis - WO Lists wrote:
Dear List,
When running from Eclipse, the test app has trouble locating
classes within the test framework.
However, when running in deployed mode, from the command line,
everything seems to be fine.
Checks:
The framework has been correctly included in Project
Properties -> Jave Build Path -> Libraries
The framework has been correctly included in Project
Properties -> Project References
The framework is listed in ".classpath"
Please explain - it used to work fine in Eclipse/WOLips 3.3.
Thanks.
com.webobjects.foundation.NSForwardException
[java.lang.ClassNotFoundException] Cannot find class or
component named TESTHyperlink in runtime or in a loadable
bundle
:<com.webobjects.appserver._private.WOComponentDefinition:
Error parsing template for Component : 'file:/Users/dennis/
Documents/workspace/TESTApp/build/TESTApp.woa/Contents/
Resources/Main.wo':
java.lang.ClassNotFoundException: Cannot find class or
component named TESTHyperlink in runtime or in a loadable bundle
With Kind Regards,
Dennis Gaastra,
Chief Technology Officer,
WEBAPPZ Systems, Inc.
This message contains confidential information and is intended
only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail
from your system. E-mail transmission cannot be guaranteed to
be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version.
WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West
Vancouver, BC, CANADA V7T 1B8, www.webappz.com
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase
their overall knowledge of WebObjects or who are trying to
solve specific problems.
http://www.global-village.net/products/practical_webobjects
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden