error:maven编译出错

maven 编译出错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean

eclipse在使用maven的tomcat控件编译java程序时,报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project **-web: Failed to clean project: Failed to delete E:\**\target\tomcat\logs\access_log


eclipse在使用maven的tomcat控件编译java程序时,报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project **-web: Failed to clean project: Failed to delete E:\**\target\tomcat\logs\access_log

这类错误

出现这种错误,通常是由于您已启动了另一个tomcat 进程或者运行的javaw.exe进程,导致报错。

解决方法:

1. 鼠标点击 X 进行关闭运行失败的 Console页,(如果运行多次,程序的console都只会放在这里)


关闭后,应该可以看到,红色小正方形。点击,使tomcat进程或运行的javaw.exe进程停止。

再重新编译即可。

求助 编译出错error C2079

07-13

编译TransferSocket.ccp时,提示rnTransferSocket.cpprnd:\doc\transfer\transferdlg.h(33) : error C2146: syntax error : missing ';' before identifier 'm_TransferSocket'rnd:\doc\transfer\transferdlg.h(33) : error C2501: 'CTransferSocket' : missing storage-class or type specifiersrnd:\doc\transfer\transferdlg.h(33) : error C2501: 'm_TransferSocket' : missing storage-class or type specifiersrnD:\doc\Transfer\TransferSocket.cpp(102) : error C2039: 'm_TransferSocket' : is not a member of 'CTransferDlg'rn d:\doc\transfer\transferdlg.h(19) : see declaration of 'CTransferDlg'rnD:\doc\Transfer\TransferSocket.cpp(102) : error C2228: left of '.SendMessageA' must have class/struct/union typern编译ServerSocket.cpp时,也有类似错误rn但编译TransferDlg.cpp通过rn为什么?rnrnTransferSocket.hrnrn#include "afxsock.h"rn#include "TransferDlg.h"rn#include "Messg.h"rnrnclass CTransferDlg;rnrnclass CTransferSocket : public CSocketrnrn// Attributesrnpublic:rn CArchive* m_aSessionIn;rn CArchive* m_aSessionOut;rn CSocketFile* m_sfSocketFile;rnrn CTransferDlg* m_dlg;rn .....rn;rnrnServerSocket.hrn#include "afxsock.h"rn#include "TransferDlg.h"rnclass CTransferDlg;rnrnclass CServerSocket : public CSocketrnrn// Attributesrnpublic:rnrn// Operationsrnpublic:rn CServerSocket();rn virtual ~CServerSocket();rnrn// Overridesrnpublic:rn CTransferDlg *m_dlg;rn void Init(CTransferDlg* dlg);rn ....rn;rnrnTransferDlg.hrn#include "ServerSocket.h"rn#include "TransferSocket.h"rnrnclass CTransferDlg : public CDialogrnrn// Constructionrnpublic:rn CTransferDlg(CWnd* pParent = NULL); // standard constructorrn CStringArray m_LocalShareFiles;rn CStringArray m_RemoteShareFiles;rn CStringArray m_NeedTransferFiles;rn CStringArray m_NeedReceiveFiles;rn BOOL m_bClient;rn BOOL m_bOnLine;rn CServerSocket m_ServerSocket;rn CTransferSocket m_TransferSocket;rn ....rn;

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试