Intellij编译时报“java: System Java Compiler was not found in classpath” 解决方法: Project Settings > Compiler > Java Compiler changed the drop down Use compiler from Javac to Eclipse!
tomcat启动窗口报错log4j:ERROR Could not find value for key log4j.appender.stdoutlog4j:ERROR Could not instantiate appender named "stdout".解决办法:原来是log4j.properties少了一行应该是:log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layou
在Eclipse中处理图片,需要引入两个包: import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGImageEncoder; 报错: Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.