- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经按照说明下载了最新的 highcharts-exporter here .我在本地 Windows7 x64 上运行它,它最终将在使用 Jetty9 的 Windows 生产环境中运行。
我在 highcharts-export/src/main/resources/app.properties 中更改了一行:
# location of the phantomjs executable, could be for example /usr/local/bin/phantomjs
exec = /Scripts/phantomjs
我已经安装并配置了 maven (3.0.5)。我在 HighCharts 3.x 版本发布之前构建了这个项目。该构建成功。
当我现在尝试构建时,我得到以下输出。这里的任何信息都会很棒。
编辑
这些错误似乎是由以前版本的 highcharts-export 遗留的文件引起的。我已经彻底清理了整个目录以重新开始。我仍然收到一个导致无法构建的错误:
C:\hc-exporter>mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.highcharts.export:highcharts-export:war:2.0.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ecli
pse-plugin is missing. @ line 150, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building highcharts-export 2.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ highcharts-export --
-
[INFO] Deleting C:\hc-exporter\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ highcharts
-export ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ highcharts-ex
port ---
[INFO] Compiling 13 source files to C:\hc-exporter\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact
ory.java:[68,29] error: cannot find symbol
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.652s
[INFO] Finished at: Thu May 16 13:53:36 EDT 2013
[INFO] Final Memory: 11M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project highcharts-export: Compilation failure
[ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact
ory.java:[68,29] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
C:\hc-exporter>
旧错误 - 仅供引用。
C:\hc-exporter>mvn -version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51: 28-0500) Maven home: C:\apache-maven-3.0.5 Java version: 1.7.0_10, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_10\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" C:\hc-exporter>mvn clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.highcharts.export:highcharts-export:war:2.0.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ecli pse-plugin is missing. @ line 150, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building highcharts-export 2.0.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ highcharts-export -- - [INFO] Deleting C:\hc-exporter\target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ highcharts -export --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ highcharts-ex port --- [INFO] Compiling 16 source files to C:\hc-exporter\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[8,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[9,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[10,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[11,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[12,40] error: package org.apache.batik.transcoder.image does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[13,40] error: package org.apache.batik.transcoder.image does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[14,25] error: package org.apache.fop.svg does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[32,34] error: cannot find symbol [ERROR] symbol: class TranscoderException location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[63,1 5] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFactory.java :[68,29] error: cannot find symbol [ERROR] symbol: variable ACTIVE location: class ServerState C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[34,2 ] error: cannot find symbol [ERROR] symbol: class TranscoderInput location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[34,3 0] error: cannot find symbol [ERROR] symbol: class TranscoderInput location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[35,2 ] error: cannot find symbol [ERROR] symbol: class TranscoderOutput location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[35,3 7] error: cannot find symbol [ERROR] symbol: class TranscoderOutput location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[37,2 ] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[45,3 3] error: cannot find symbol [ERROR] symbol: variable SVGAbstractTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[53,3 4] error: cannot find symbol [ERROR] symbol: variable SVGAbstractTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[66,2 ] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[70,2 0] error: cannot find symbol [ERROR] symbol: class PNGTranscoder
location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[73,2 0] error: cannot find symbol [ERROR] symbol: class JPEGTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[74,3 3] error: cannot find symbol [ERROR] symbol: variable JPEGTranscoder location: class SVGRasterizer C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[78,2 0] error: cannot find symbol [INFO] 22 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.741s [INFO] Finished at: Thu May 16 12:54:29 EDT 2013 [INFO] Final Memory: 11M/122M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 5.1:compile (default-compile) on project highcharts-export: Compilation failure: Compilation failure: [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[8,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[9,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[10,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[11,34] error: package org.apache.batik.transcoder does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[12,40] error: package org.apache.batik.transcoder.image does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[13,40] error: package org.apache.batik.transcoder.image does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[14,25] error: package org.apache.fop.svg does not exist [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[32,34] error: cannot find symbol [ERROR] symbol: class TranscoderException [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[63,15] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact ory.java:[68,29] error: cannot find symbol [ERROR] symbol: variable ACTIVE [ERROR] location: class ServerState [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[34,2] error: cannot find symbol [ERROR] symbol: class TranscoderInput [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[34,30] error: cannot find symbol [ERROR] symbol: class TranscoderInput [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[35,2] error: cannot find symbol [ERROR] symbol: class TranscoderOutput [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[35,37] error: cannot find symbol [ERROR] symbol: class TranscoderOutput [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[37,2] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[45,33] error: cannot find symbol [ERROR] symbol: variable SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[53,34] error: cannot find symbol [ERROR] symbol: variable SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[66,2] error: cannot find symbol [ERROR] symbol: class SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[70,20] error: cannot find symbol [ERROR] symbol: class PNGTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[73,20] error: cannot find symbol [ERROR] symbol: class JPEGTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[74,33] error: cannot find symbol [ERROR] symbol: variable JPEGTranscoder [ERROR] location: class SVGRasterizer [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja va:[78,20] error: cannot find symbol [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption C:\hc-exporter>
最佳答案
这已在 Github 的 Highcharts 存储库中得到修复.所以你将不再需要补丁,只需拉入更改
关于java - 构建 HighCharts-Export Server 2.1 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16593269/
在我的项目代码优化期间,我替换了 var 的所有实例关键词 let因为我认为 var 没有特别的用途.为此,我在所有文件中执行了“查找和替换”操作。 在一些自定义模块中,我使用了如下语句: var e
我遇到过使用“双”导出来创建当前组件的情况。您能否解释一下它是否有真正的用途,或者只是作者的偏好? import React from 'react' import DuckImage from '.
我编写了一个简单的脚本来创建用户 (TestV100)、在该架构中创建表 (Xy100) 并将制表符分隔的平面文件从 hadoop 导出到此 Oracle 表。 这是 shell 脚本:-Export
我真的很困惑: export const foo 导出默认 foo module.exports = foo; 我知道这些是非常基本的,但有人可以区分并向我解释这些。我真的很想明白。 最佳答案 让我们
今天我在我的 AngularJS 项目中采用了 Browserify,但是我还不清楚。在所有示例和博客文章中,我都看到了这样的东西: /app.js: require('./messages'); a
我正在寻找一种方法: 隐藏 HTML 页面结果上的标题 导出时在 highcharts 图表上显示标题(PDF、PNG、JPEG 或打印) 我不知道如何继续。有人可以帮助我吗? 最佳答案 您可以在导出
在我的应用程序的首选项中,我调用以特殊方式处理某些参数的 Activity 。到目前为止它运作良好。但是,为了创建试用版和专业版,我刚刚创建了一个包含所有代码的库和一个调用该库的新演示应用程序。除了由
pentaho cde 导出组件正在为我工作,它导出表数据,文件名为 cda-export.csv,我可以自动设置文件名吗? 最佳答案 尝试使用参数 {filename : 'myfilename
我想从 Gephi 的预览选项卡中导出 SVG/PDF/PNG。导出的网络包括所有节点,但切断了左右两侧的节点标签。如何获得不切断标签的导出 pdf? 最佳答案 您必须通过控制选项 来调整输出的大小。
如标题所述,我在尝试使用我的 perl 模块时遇到此错误,但我不知道它是什么意思,而且我似乎无法在 Internet 上找到任何明确的结果。我的代码由 3 个文件组成:一个脚本 (myApp.pl),
我曾经每天下载一个 firebase 实时数据库的节点,通过导出该节点的 .JSON 文件来监控一些输出。 JSON 文件本身大约 8MB。 最近,我开始收到一个错误: “导出 JSON 无法导出在单
之间有什么区别 export * as bar from 'foo' 和 export { default as bar } from 'foo' 在我的特殊情况下,我尝试了以下两种方法,它们都有效,
我想我要求的是不可能的OOB,但我想确认一下。 我们正在升级到 ES6(使用 Babel)。项目是一个网站,使用 AMD (requirejs)。我想将实用程序模块 (foolib) 转换为 ES6,
我一直在我的 React 中广泛使用命名导出和默认导出,我遇到了这 2 个相似的语法。 从'./Button'导出默认值; export { default } from './Button'; 有人
在此页面 ( http://docs.nodejitsu.com/articles/getting-started/what-is-require ) 上,它指出“如果要将导出对象设置为函数或新对象,
在此页面 ( http://docs.nodejitsu.com/articles/getting-started/what-is-require ) 上,它指出“如果要将导出对象设置为函数或新对象,
我在运行 flow check 时收到此错误,但我不确定这是什么意思。 Cannot use exports as a type because exports is a value. To get
module.export和export有什么区别? 如果module.export对象中有一些属性怎么办?export.xx 会无效吗? 最佳答案 首先是 exports 和 module.expo
我正在学习 typescript 。在研究一些源文件时,我发现声明文件 .d 中有时有 export declare ... 有时只有 export ... .ts. 经过一些测试,在我看来它们是等价
假设我有一个要导出的变量。有什么区别 export const a = 1; 对比 export let a = 1; 我理解const 和let 之间的区别,但是当你导出它们时,有什么区别? 最佳答
我是一名优秀的程序员,十分优秀!