---
title: "maven3 compile failed, class file not found issue"
author: "cuishen"
date: "2013-07-16T18:31:42Z"
tags: []
categories: ["企业架构"]
slug: "maven3-compile-failed-class-file-not-found-issue"
draft: false
lastmod: "2013-07-16T18:31:42Z"
id: 1908048
url: "https://cuishen.iteye.com/blog/1908048"
---

今日maven3 build 老是失败，停在compile，报class file for XXX not found error，但是那个jar明明是在依赖里面啊。

后开debug模式，发现那个jar没有加到class path里面，可能是win XP下面万恶的路径长度限制吧，后缩短了仓库和代码的路径后，问题解决。