Hi all,

It's been 4 years since I did any significant WebObjects development, but
now I decided to plunge back in by importing an old project of mine into an
updated Eclipse/WOLips project on the very latest and greatest of
everything (WebObjects 5.4.3, latest Wonder, but Eclipse 3.7.2).

My app uses classes from ERJavaMail.framework's JARs (namely my Main.java
references javax.mail.MessagingException from mailapi-1.4.5.jar), but no
matter how I include the framework and the JARs, when I launch my app from
Eclipse, I get the same exception (see below).

Any idea on how to fix this?  Am I missing something obvious after all
these years? :)

Jonathan

 
com.webobjects.foundation.NSForwardException[java.lang.reflect.InvocationTargetException]
null:java.lang.reflect.InvocationTargetException

at com.webobjects.foundation._NSUtilities._explainInstantiationException(
_NSUtilities.java:626)

at com.webobjects.foundation._NSUtilities.instantiateObject(
_NSUtilities.java:646)

at
com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(
WOComponentDefinition.java:544)

at
com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(
WOComponentDefinition.java:642)

at com.webobjects.appserver.WOApplication.pageWithName(
WOApplication.java:2332)

at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(
WOComponentRequestHandler.java:284)

at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(
WOComponentRequestHandler.java:332)

at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(
WOComponentRequestHandler.java:369)

at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(
WOComponentRequestHandler.java:442)

at com.webobjects.appserver.WOApplication.dispatchRequest(
WOApplication.java:1687)

at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(
ERXApplication.java:2110)

at er.extensions.appserver.ERXApplication.dispatchRequest(
ERXApplication.java:2075)

at com.webobjects.appserver._private.WOWorkerThread.runOnce(
WOWorkerThread.java:144)

at com.webobjects.appserver._private.WOWorkerThread.run(
WOWorkerThread.java:226)

at java.lang.Thread.run(Thread.java:695)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at com.webobjects.foundation._NSUtilities.instantiateObject(
_NSUtilities.java:640)

... 13 more

Caused by: java.lang.Error: Unresolved compilation problems:

The import javax.mail cannot be resolved

The import javax.mail cannot be resolved

The method registerMailSession(Session, String, String) from the type
Pop3MailSessionManager refers to the missing type MessagingException

AuthenticationFailedException cannot be resolved to a type

MessagingException cannot be resolved to a type


 at net.xytra.wobmail.components.Main.<init>(Main.java:9)

... 18 more
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to