使用activation.jar发生的问题

http://forums.dzone.com/eclipse/384-access-restriction-problems.html

 

 

import javax.activation.DataHandler;

import javax.activation.DataSource;

import javax.activation.MimetypesFileTypeMap;

 

Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Program
files\java\jdk1.5.0_15\jre\lib\rt.jar

 

 

 

 

1. Open project properties.
2. Select Java Build Path node.
3. Select Libraries tab.
4. Remove JRE System Library.
5. Add Library JRE System Library.

你可能感兴趣的:(java,eclipse,C++,c,Access)