我有一个奇怪的问题,我有一个配置了maven的项目,当我执行时: mvn clean install 我收到此错误:
[INFO] ---------------------------------------------------------------
---------
[INFO] BUILD FAILURE
[INFO] ---------------------------------------------------------------
---------
[INFO] Total time: 4.637 s
[INFO] Finished at: 2018-04-19T22:21:24-03:00
[INFO] ---------------------------------------------------------------
---------
[ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-
plugin:2.3:wsimport (wsimport-XXXXXXXXX-generate) on project
XXXXXXXXXX:
Mojo failed - check output -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[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 read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExceptio
n
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command
提前感谢您的时间。
答案 0 :(得分:1)
float calculateY(float x, float y) {
return y + sin(x);
}
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
vec3 bgColor = vec3(0.0);
vec3 lineColor = vec3(0.0);
float lineWidth = 0.001;
vec2 uv = fragCoord/iResolution.xy;
uv = -1.0 + 2.0 * uv;
uv.y += 0.1;
float largeTimeOffset = 1000000.0;
float x = (uv.x + (iTime + largeTimeOffset));
float y = calculateY(x, uv.y);
lineWidth = abs(1.0 / (300.0 * y));
lineColor += vec3(lineWidth, lineWidth, lineWidth);
fragColor = vec4(bgColor+lineColor,1.0);
}
(基于pom.xml)-将所有子项目链接到 root 用户sudo mvn clean install
检查所有目标文件夹都属于根用户ls -al * | grep target
sudo chown -R username:username .