---
title: "CAS异常之context[]startup failed due to previous errors"
author: "IThead"
date: "2012-10-28T00:49:26Z"
tags: []
categories: ["企业架构"]
slug: "cas-context-startup-failed-due-to-previous-errors"
draft: false
lastmod: "2012-10-28T00:49:26Z"
id: 1706738
url: "https://ithead.iteye.com/blog/1706738"
---

localhost.log中报错的错误：
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

原因：
缺少jar:commons-logging-1.1.jar

解决办法：
将commons-logging-1.1.jar拷贝到tomcat的lib目录下，重启tomcat，即可。