M
moonhk
I have below CLASSPATH.
C:\Example\javaux\mail>set|grep -i class
CLASSPATH=.;
c:\program Files\notes\Notes.jar;
c:\Program Files\notes\data\domino\java\NCSO.jar;
C:\Program Files\Java\api\jaf-1.0.2\activation.jar;
C:\Program Files\Java\api\javamail-1.3.2\mail.jar;
c:\example\javaux\javaclass\lotus\domino\NCSO.jar
I want build New jar include ByteArrayDataSource how to process ?
org.apache.commons.mail
Class ByteArrayDataSource
java.lang.Object
org.apache.commons.mail.ByteArrayDataSource
All Implemented Interfaces:
javax.activation.DataSource
Below java program need ByteArrayDataSource class
C:\Example\javaux\mail>javac sendhtml.java
sendhtml.java:242: cannot resolve symbol
symbol : class ByteArrayDataSource
location: class sendhtml
new ByteArrayDataSource(sb.toString(), "text/html")));
^
1 error
C:\Example\javaux\mail>set|grep -i class
CLASSPATH=.;
c:\program Files\notes\Notes.jar;
c:\Program Files\notes\data\domino\java\NCSO.jar;
C:\Program Files\Java\api\jaf-1.0.2\activation.jar;
C:\Program Files\Java\api\javamail-1.3.2\mail.jar;
c:\example\javaux\javaclass\lotus\domino\NCSO.jar
I want build New jar include ByteArrayDataSource how to process ?
org.apache.commons.mail
Class ByteArrayDataSource
java.lang.Object
org.apache.commons.mail.ByteArrayDataSource
All Implemented Interfaces:
javax.activation.DataSource
Below java program need ByteArrayDataSource class
C:\Example\javaux\mail>javac sendhtml.java
sendhtml.java:242: cannot resolve symbol
symbol : class ByteArrayDataSource
location: class sendhtml
new ByteArrayDataSource(sb.toString(), "text/html")));
^
1 error