You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that with 2.8.0-RC3 I get the following error compiling 2) with maven:
[INFO] Compiling76 source files to /home/andreak/dev/origo/frontend/target/classes at 1275054960890
[ERROR] error: error while loading MimeHelper, Missing dependency 'class javax.mail.internet.MimeMessage', required by /home/andreak/dev/origo/legacy/target/officenet_origo-legacy-1.8.4-SNAPSHOT.jar(no/officenet/uno/util/mail/MimeHelper.class)
This works fine with RC2 and below. Note that the dependency on javax.mail:mail is "provided"-scope, in Maven terms, but for some reason Scala needs this class and complains...
Any hints on what's going on? I can "solve" this by including the dependency for javax.mail:mail as "provided" in all my maven-modules, but that should not be necessary, and was not necessary until RC3 came along...
If desirable I can provide a small maven-project which showcases the issue, which works in RC2.
The text was updated successfully, but these errors were encountered:
@retronym said:
Please provide a test case reproducible using scalac from the command line, without maven. This will rule out possibility that the problem is with Maven or the Maven Scala Plugin.
Say I have the following maven-modules:
The problem is that with 2.8.0-RC3 I get the following error compiling 2) with maven:
This works fine with RC2 and below. Note that the dependency on javax.mail:mail is "provided"-scope, in Maven terms, but for some reason Scala needs this class and complains...
Any hints on what's going on? I can "solve" this by including the dependency for javax.mail:mail as "provided" in all my maven-modules, but that should not be necessary, and was not necessary until RC3 came along...
If desirable I can provide a small maven-project which showcases the issue, which works in RC2.
The text was updated successfully, but these errors were encountered: