Khi tôi đang cố gắng xây dựng ứng dụng maven của mình trên hạt thuần IDE, tôi nhận được lỗi này, có thể làm ơn giúp tôi.'svn' không được nhận dạng dưới dạng lệnh nội bộ hoặc bên ngoài
Checking for local modifications: skipped.
Executing: cmd.exe /X /C "svn --non-interactive update D:\server"
Working directory: D:\server
Provider message:
The svn command failed.
Command output:
'svn' is not recognized as an internal or external command,
operable program or batch file.
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.070s
Finished at: Mon Dec 17 19:24:19 IST 2012
Final Memory: 15M/175M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.1:create (default) on project red5-server: Couldn't update project. Error! -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
lệnh svn không được đặt chính xác trong biến thể môi trường 'PATH' của bạn. Đặt thư mục PATH đến/bin của máy khách svn. –
Hoặc thêm svn vào biến% pATH% env của bạn (nếu bạn đã cài đặt nó) hoặc tải xuống và cài đặt SVN. Xem danh sách các gói nhị phân chính thức tại http://subversion.apache.org/packages.html#windows – bahrep