Hello i faced with problem:

javax.mail.NoSuchProviderException: smtp

         at javax.mail.Session.getService(Session.java:798)

                               

under running application in hosted mode. Can you give advise to me on fix 
this issue?

I found this topic :

http://grokbase.com/t/gg/google-web-toolkit/126nsefyq9/problems-using-javamail-within-hosted-mode-in-eclipse

but I cant understand how to add special jar to bootstrap with 
gwt-maven-plugin.

I am trying this:

  <plugin>

<groupId>org.codehaus.mojo</groupId>

                <artifactId>*gwt*-*maven*-*plugin*</artifactId>

                <version>2.4.0</version>

                <executions>

                    <execution>

                        <goals>

                            <goal>compile</goal>

                        </goals>

                    </execution>

                </executions>

                <configuration>

                    <module>com.some.package.SomeApplication</module>

                    <runTarget>SomeApplication.html</runTarget>

                    <draftCompile>true</draftCompile>

                    <optimizationLevel>1</optimizationLevel>

                    <extraParam>true</extraParam>

                    <extra>
${project.build.directory}/${project.build.finalName}/WEB-INF/classes</extra
>

                    <extraJvmArgs>-cp 
${project.build.directory}/${project.build.finalName}/WEB-INF/lib/mail-1.4.4.jar
 
-Dapp.config=${project.build.outputDirectory}/etc/localhost.properties 
-Dnc.log4j.configuration=file:/${project.build.outputDirectory}/etc/log4j.xml 
-Dlog4j.debug</extraJvmArgs>

                </configuration>

            </plugin>

 

But it’s not make sense to me.

 Can any one help?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to