---
title: "Exception类的e.printStackTrace()输出问题"
author: "llade"
date: "2008-05-29T11:49:54Z"
tags: []
slug: "exception-e-printstacktrace"
draft: false
lastmod: "2008-05-29T11:49:54Z"
id: 198184
url: "https://llade.iteye.com/blog/198184"
---

为什么Exception类的e.printStackTrace()输出会和System.out.println()不同步？
是因为System.out和System.err的输出不是同一个线程。