Fixed - It turns out that j2ee.jar is (was) also a dependency and the version being used contained an older version of mail.InternetAddress.
Thanks for your help. -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 3:42 PM To: Maven Users List Subject: Re: Maven2 compilation problem Unjar the file, dig into the files, and make sure that method exists. You might even decompile it to be sure. Wayne On 4/17/08, Granse, Erik A <[EMAIL PROTECTED]> wrote: > I'm in the process of migrating from Maven1 to Maven2 (using v. 2.0.8) > and have run into a problem I'm unable to solve. When compiling one of > my projects, I receive the following error: > > cannot resolve symbol > symbol : method validate () > location: class javax.mail.internet.InternetAddress > > I've had no build problems in either Eclipse or with Maven1, and I > manually installed the the dependency jar (mail-1.3.1.jar) from my > Maven1 repo to my Maven2 repo, so I'm puzzled as to the cause of the > error. > > Compiling with debug turned on, I show that mvn is using the correct > JDK, and I only see the mail-1.3.1 dependency listed in the > classpathElements/classpath, so it doesn't look like there's a > dependency conflict anywhere. ([DEBUG] C:\Documents and > Settings\egranse\.m2\repository\javax\mail\mail\1.3.1\mail-1.3.1.jar) > > Does anyone have any thoughts on what my next step should be? I'm out of > ideas. > > Thanks, > > Erik Granse > > Web Developer > > OptumHealth > > [EMAIL PROTECTED] > > 763-797-2572 > > > > > This e-mail, including attachments, may include confidential and/or > proprietary information, and may be used only by the person or entity to > which it is addressed. If the reader of this e-mail is not the intended > recipient or his or her authorized agent, the reader is hereby notified > that any dissemination, distribution or copying of this e-mail is > prohibited. If you have received this e-mail in error, please notify the > sender by replying to this message and delete this e-mail immediately. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]