---
title: "Resin can't load com.sun.tools.javac.Main"
author: "cin_ie"
date: "2012-06-06T17:09:56Z"
tags: []
categories: ["互联网"]
slug: "resin-can-t-load-com-sun-tools-javac-main"
draft: false
lastmod: "2012-06-06T17:09:42Z"
id: 1553422
url: "https://cin-ie.iteye.com/blog/1553422"
---

Resin can't load com.sun.tools.javac.Main.  Usually this means that the  
JDK tools.jar is missing from the classpath, possibly because of using  
a JRE instead of the JDK.  You can either add tools.jar to the classpath  
or change the compiler to an external one with <java compiler='javac'/>  
or jikes.  
 
http://www.wozaishuo.com.cn/article.asp?id=258
 
http://www.chedong.com/tech/resin.html