How to fix the “the-default-package-is-not-permitted-by-the-import-package-syntax” error while using geojson library?Embedding JARs into the OSGi bundle with maven-bundle-pluginIs there a Maven build for eclipselink that makes the OSGi bundles run in Felix and others?Maven Could not resolve dependencies, artifacts could not be resolvedIntelliJ inspection gives “Cannot resolve symbol” but still compiles codeJar Mismatch Found 2 versions of android-support-v4.jar in the dependency listmaven “cannot find symbol” message unhelpfulMaven is not working in Java 8 when Javadoc tags are incompleteHow to handle Import-Package entries which come from jars on the Bundle-Classpath?OSGI bundle dependency issueHow to bundle/package latest version of custom library in maven web project without updating pom.xml?

What is this old "lemon-squeezer" shaped pan

Three-dimensional light bulbs

Can a continent naturally split into two distant parts within a week?

How to honestly answer questions from a girlfriend like "How did you find this place" without giving the impression I'm always talking about my exes?

What are the arguments for California’s nonpartisan blanket primaries?

Why limit to revolvers?

Why is "dark" an adverb in this sentence?

Mathematica function equivalent to Matlab's residue function (partial fraction expansion)

Is dividends exclusively a part of earnings?

Could the crash sites of the Apollo 11 and 16 LMs be seen by the LRO?

How to calculate difference in AnyDice?

Do aircraft cabins have suspension?

Print all lines that don't have numbers, using sed

What made Windows ME so crash-prone?

Is this more than a packing puzzle?

Is killing off one of my queer characters homophobic?

Manually select/unselect lines before forwarding to stdout

Is there a good program to play chess online in ubuntu?

What are some symbols representing peasants/oppressed persons fighting back?

Can a pizza stone be fixed after soap has been used to clean it?

What's the phrasal verb for carbonated drinks exploding out of the can after being shaken?

Why does the Trade Federation become so alarmed upon learning the ambassadors are Jedi Knights?

line break after the word "proof" in proof environment

If I stood next to a piece of metal heated to a million degrees, but in a perfect vacuum, would I feel hot?



How to fix the “the-default-package-is-not-permitted-by-the-import-package-syntax” error while using geojson library?


Embedding JARs into the OSGi bundle with maven-bundle-pluginIs there a Maven build for eclipselink that makes the OSGi bundles run in Felix and others?Maven Could not resolve dependencies, artifacts could not be resolvedIntelliJ inspection gives “Cannot resolve symbol” but still compiles codeJar Mismatch Found 2 versions of android-support-v4.jar in the dependency listmaven “cannot find symbol” message unhelpfulMaven is not working in Java 8 when Javadoc tags are incompleteHow to handle Import-Package entries which come from jars on the Bundle-Classpath?OSGI bundle dependency issueHow to bundle/package latest version of custom library in maven web project without updating pom.xml?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I was upgrading to new library of geojson from version 14.2 to 20.2. And I was keep of getting below maven build error which is failing at the bundle processing with the message "the-default-package . -is-not-permitted-by-the-import-package-syntax".



I expect the maven build with bundle processing to be successful but the actual output is "the-default-package-is-not-permitted-by-the-import-package-syntax" error.










share|improve this question




























    1















    I was upgrading to new library of geojson from version 14.2 to 20.2. And I was keep of getting below maven build error which is failing at the bundle processing with the message "the-default-package . -is-not-permitted-by-the-import-package-syntax".



    I expect the maven build with bundle processing to be successful but the actual output is "the-default-package-is-not-permitted-by-the-import-package-syntax" error.










    share|improve this question
























      1












      1








      1








      I was upgrading to new library of geojson from version 14.2 to 20.2. And I was keep of getting below maven build error which is failing at the bundle processing with the message "the-default-package . -is-not-permitted-by-the-import-package-syntax".



      I expect the maven build with bundle processing to be successful but the actual output is "the-default-package-is-not-permitted-by-the-import-package-syntax" error.










      share|improve this question














      I was upgrading to new library of geojson from version 14.2 to 20.2. And I was keep of getting below maven build error which is failing at the bundle processing with the message "the-default-package . -is-not-permitted-by-the-import-package-syntax".



      I expect the maven build with bundle processing to be successful but the actual output is "the-default-package-is-not-permitted-by-the-import-package-syntax" error.







      java maven osgi geojson






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 7:20









      Deepak GuptaDeepak Gupta

      214 bronze badges




      214 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          While upgrading the geotools library from old version 14.2 to new version 20.2, there were lot of changes has been made.



          GeoTools Upgrade



          This was one of the link that would help everyone to do it very easily. But with the upgradation of geotools, we also update the gt-geojson library too. This library contains the class "Skunkwork" without any package name which result in above error during bundle processing of maven build. To avoid this error,i have to remove this class. And it works fine.



          Before Fix



          Geojson jar contains a class "Skunkwork" with no package name



          POM Configuration:



           <dependency>
          <groupId>org.geotools</groupId>
          <artifactId>gt-geojson</artifactId>
          <version>20.2</version>
          </dependency>


          After Fix



          Geojson jar contains no default package class



          POM Configuration:



          <dependency>
          <groupId>org.geotools</groupId>
          <artifactId>gt-geojson</artifactId>
          <version>20.2-fixed</version>
          </dependency>


          Note: This jar needs to be manually installed to your local repository. And as well as you need to install the fixed jar to remote artifactory if used by your code base such as Nexus, JFrog etc.






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55351688%2fhow-to-fix-the-the-default-package-is-not-permitted-by-the-import-package-synta%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            While upgrading the geotools library from old version 14.2 to new version 20.2, there were lot of changes has been made.



            GeoTools Upgrade



            This was one of the link that would help everyone to do it very easily. But with the upgradation of geotools, we also update the gt-geojson library too. This library contains the class "Skunkwork" without any package name which result in above error during bundle processing of maven build. To avoid this error,i have to remove this class. And it works fine.



            Before Fix



            Geojson jar contains a class "Skunkwork" with no package name



            POM Configuration:



             <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt-geojson</artifactId>
            <version>20.2</version>
            </dependency>


            After Fix



            Geojson jar contains no default package class



            POM Configuration:



            <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt-geojson</artifactId>
            <version>20.2-fixed</version>
            </dependency>


            Note: This jar needs to be manually installed to your local repository. And as well as you need to install the fixed jar to remote artifactory if used by your code base such as Nexus, JFrog etc.






            share|improve this answer



























              0














              While upgrading the geotools library from old version 14.2 to new version 20.2, there were lot of changes has been made.



              GeoTools Upgrade



              This was one of the link that would help everyone to do it very easily. But with the upgradation of geotools, we also update the gt-geojson library too. This library contains the class "Skunkwork" without any package name which result in above error during bundle processing of maven build. To avoid this error,i have to remove this class. And it works fine.



              Before Fix



              Geojson jar contains a class "Skunkwork" with no package name



              POM Configuration:



               <dependency>
              <groupId>org.geotools</groupId>
              <artifactId>gt-geojson</artifactId>
              <version>20.2</version>
              </dependency>


              After Fix



              Geojson jar contains no default package class



              POM Configuration:



              <dependency>
              <groupId>org.geotools</groupId>
              <artifactId>gt-geojson</artifactId>
              <version>20.2-fixed</version>
              </dependency>


              Note: This jar needs to be manually installed to your local repository. And as well as you need to install the fixed jar to remote artifactory if used by your code base such as Nexus, JFrog etc.






              share|improve this answer

























                0












                0








                0







                While upgrading the geotools library from old version 14.2 to new version 20.2, there were lot of changes has been made.



                GeoTools Upgrade



                This was one of the link that would help everyone to do it very easily. But with the upgradation of geotools, we also update the gt-geojson library too. This library contains the class "Skunkwork" without any package name which result in above error during bundle processing of maven build. To avoid this error,i have to remove this class. And it works fine.



                Before Fix



                Geojson jar contains a class "Skunkwork" with no package name



                POM Configuration:



                 <dependency>
                <groupId>org.geotools</groupId>
                <artifactId>gt-geojson</artifactId>
                <version>20.2</version>
                </dependency>


                After Fix



                Geojson jar contains no default package class



                POM Configuration:



                <dependency>
                <groupId>org.geotools</groupId>
                <artifactId>gt-geojson</artifactId>
                <version>20.2-fixed</version>
                </dependency>


                Note: This jar needs to be manually installed to your local repository. And as well as you need to install the fixed jar to remote artifactory if used by your code base such as Nexus, JFrog etc.






                share|improve this answer













                While upgrading the geotools library from old version 14.2 to new version 20.2, there were lot of changes has been made.



                GeoTools Upgrade



                This was one of the link that would help everyone to do it very easily. But with the upgradation of geotools, we also update the gt-geojson library too. This library contains the class "Skunkwork" without any package name which result in above error during bundle processing of maven build. To avoid this error,i have to remove this class. And it works fine.



                Before Fix



                Geojson jar contains a class "Skunkwork" with no package name



                POM Configuration:



                 <dependency>
                <groupId>org.geotools</groupId>
                <artifactId>gt-geojson</artifactId>
                <version>20.2</version>
                </dependency>


                After Fix



                Geojson jar contains no default package class



                POM Configuration:



                <dependency>
                <groupId>org.geotools</groupId>
                <artifactId>gt-geojson</artifactId>
                <version>20.2-fixed</version>
                </dependency>


                Note: This jar needs to be manually installed to your local repository. And as well as you need to install the fixed jar to remote artifactory if used by your code base such as Nexus, JFrog etc.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 8:11









                Deepak GuptaDeepak Gupta

                214 bronze badges




                214 bronze badges


















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55351688%2fhow-to-fix-the-the-default-package-is-not-permitted-by-the-import-package-synta%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해