在cmd命令行输入这个,一直没反应,alter table goodsdetail add description varchar(100); 原因:TOMCAT启动中,数据库表结构是被锁死的,关闭服务器,才能修改表结构