rabbitmq-plugin返回“错误无法识别命令”

时间:2015-12-03 11:22:47

标签: rabbitmq windows-server-2012

我为windows server 2012安装了rabbitmq。它安装得正确。我想在rabbitmq-plugin.bat里面运行rabbitmq_management命令,但双击通过“错误无法识别命令”时的bat文件。.Googled错误没有找到一个东西。我怎么能错过这个错误?

1 个答案:

答案 0 :(得分:2)

打开sbin终端,转到rabbitmq rabbitmq-plugin.bat enable rabbitmq_management文件夹并执行:

mat = new Mat(); edges = new Mat(); Size kernel = new Size(5, 5); Mat gauss = new Mat(); Mat mRgba = new Mat(612,816, CvType.CV_8UC1); Mat lines = new Mat(612,816, CvType.CV_8UC1); binary_image = new Mat(); Utils.bitmapToMat(bitmap, mat); Imgproc.GaussianBlur(mat, gauss, kernel, 10000, 10000); Imgproc.Canny(gauss, edges, 50, 90); Imgproc.threshold(edges, binary_image, 0, 255, Imgproc.THRESH_BINARY_INV); int threshold = 50; int minLineSize = 20; int lineGap = 20; Imgproc.HoughLinesP(binary_image, lines, 1, Math.PI / 180,threshold,minLineSize,lineGap); for (int x = 0; x < lines.cols(); x++) { double[] vec = lines.get(0, x); double x1 = vec[0], y1 = vec[1], x2 = vec[2], y2 = vec[3]; Point start = new Point(x1, y1); Point end = new Point(x2, y2); Core.line(mRgba, start, end, new Scalar(255, 0, 0), 3); } Bitmap bmp = Bitmap.createBitmap(mRgba.cols(), mRgba.rows(), Bitmap.Config.ARGB_8888); Utils.matToBitmap(mRgba, bmp); bitmap=bmp;