Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation: Access Denied Error #23

Open
tugalsan opened this issue Jul 14, 2020 · 10 comments
Open

Compilation: Access Denied Error #23

tugalsan opened this issue Jul 14, 2020 · 10 comments

Comments

@tugalsan
Copy link

@treblereel Hello,

Even though I am running netbeans in administrator mode, I am getting below error:
"D:\me\Documents\ProgsCodes\Maven\gwt-resources-master\core\target\classes (Erişim engellendi)"
Translation: Erişim engellendi -> Access Denied

Netbeans_console.txt

Could you look into it, when you have time.

Regards,

@FrankHossfeld
Copy link

FrankHossfeld commented Jul 14, 2020

This is interesting:

Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project gwt-resources-core: Some files do not have the expected license header -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project gwt-resources-core: Some files do not have the expected license header

This tells us, that at least in one file the license header is wrong. (it looks like your are building the artifact from scratch)

You can try this:
Run: mvn license:format and build again

@treblereel
Copy link
Owner

Thanks @FrankHossfeld let me take a close look.
@tugalsan this module is published at vertispan repo so all you need to do is add this repo to your pom

@tugalsan
Copy link
Author

tugalsan commented Jul 15, 2020

Hello @treblereel
When I looked at the gwt-resources-parent pom I can see:

<repository>
            <id>vertispan</id>
            <name>Vertispan Public Repo</name>
            <url>https://repo.vertispan.com/gwt-snapshot/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
        <repository>
            <id>vertispan-jre</id>
            <name>Vertispan Public Repo</name>
            <url>https://repo.vertispan.com/j2cl/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>

I am checking the child poms.... esspecially "gwt-resources-core"

gwt-resources-parent ............................... SUCCESS [  3.147 s]
gwt-resources-api .................................. SUCCESS [ 23.130 s]
gwt-resources-core ................................. FAILURE [ 51.406 s]
gwt-resources-processor ............................ SKIPPED
gwt-test-generators ................................ SKIPPED
j2cl-tests ......................................... SKIPPED
gwt2-tests ......................................... SKIPPED

@tugalsan
Copy link
Author

Hello @treblereel
As far as I understood. I need to add Vertispan repo to "gwt-resources-core" project.
here is the modified pom of "gwt-resources-core":
pom.xml.txt

I tried compiling many times... Unfortunately the problem still exists:
Netbeans_console.txt

@tugalsan
Copy link
Author

Hello @FrankHossfeld
Here is output for mvn license:format
Netbeans_console.txt

For the sake of sanity, here is the screenshot that pom is actually exist:
image

@treblereel
Copy link
Owner

#24

added vertispan repo for tests.

maybe this error happens because of windows ? i have no windows pc so i can't check it
@FrankHossfeld

@tugalsan
Copy link
Author

Here is the output for commit #24
Netbeans_console.txt

@FrankHossfeld
Copy link

FrankHossfeld commented Jul 15, 2020

Just ran mvn clean verify locally withoput any problems:

INFO] Processed 42 files (0 non-complying).
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for gwt-resources-parent 1.0-SNAPSHOT:
[INFO] 
[INFO] gwt-resources-parent ............................... SUCCESS [  0.224 s]
[INFO] gwt-resources-api .................................. SUCCESS [  5.018 s]
[INFO] gwt-resources-core ................................. SUCCESS [  8.856 s]
[INFO] gwt-resources-processor ............................ SUCCESS [  0.203 s]
[INFO] gwt-test-generators ................................ SUCCESS [  0.135 s]
[INFO] j2cl-tests ......................................... SUCCESS [ 16.370 s]
[INFO] gwt2-tests ......................................... SUCCESS [02:03 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:34 min
[INFO] Finished at: 2020-07-15T22:03:37+02:00
[INFO] ------------------------------------------------------------------------

Here my log:
test.log.zip

@treblereel I am working on macs ....

@FrankHossfeld
Copy link

FrankHossfeld commented Jul 15, 2020

@tugalsan as @treblereel already mentioned, you can use the compiled artifact from the vertispan repo. So, no need to build it.

But of course the build should work for you too ...

But I can not reproduce the bug. Can you describe, what you did?

@tugalsan
Copy link
Author

Hello @FrankHossfeld
I just downloaded from https://github.com/treblereel/gwt-resources the project and try to compile it with setup below.
My Setup: Windows10, OracleJDK 11, Netbeans 12.

As you have said, may be an OS issue.

Now I will try to find already compiled repo.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants