Hello Sugandha,

Build errors that mention plexus usually seem to be a result of a
connection problem when maven was downloading dependencies. I've seen
it on my system from time to time and it also occurs on the GeoTools
build server occasionally.

Usually, just waiting a little while, then doing a new clean and build
(either from within your IDE or from the command line) will make the
error go away.

Working behind a firewall can also cause problems for Maven if you
don't have the right connection permissions, but in that case you
would expect to see a more general error about not being about to
download anything.

Michael


On 28 October 2012 00:18, Sugandha Naolekar <[email protected]> wrote:
> Hello!
>
> I am currently using Eclipse Juno version. I installed the maven plugin in
> it and created the sample project as mentioned in the
> http://docs.geotools.org/latest/userguide/tutorial/quickstart/eclipse.html.
>
>  After creating the project, the files created under the main and test
> folders are executing.
>
> But, an error is getting displayed int the pom.xml. Saying: Execution
> default-resources of goal
> org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed: A
> required class was missing while executing
> org.apache.maven.plugins:maven-resources-plugin:2.5:resources:
> org/codehaus/plexus/util/StringUtils
>
> I also tried deleting the local files under the .m2 directory like: .jar and
> .pom files. I also reinstalled the maven plugin to make this thing work.
>
> But, the error is not getting resolved.
>
> --
> Thanks & Regards,
> Sugandha Naolekar
>
>
> On Tue, Oct 23, 2012 at 4:38 PM, Imran Rajjad <[email protected]> wrote:
>>
>> If its just about only reading Shape files.. GDAL`s java bindings
>> might be less hassle
>>
>> regards,
>> Imran
>>
>> On Tue, Oct 23, 2012 at 4:04 PM, Sugandha Naolekar
>> <[email protected]> wrote:
>> > @jason Guess, u forgot to attach the code in the mail! :)
>> >
>> > --
>> > Thanks & Regards,
>> > Sugandha Naolekar
>> >
>> >
>> >
>> > On Tue, Oct 23, 2012 at 4:30 PM, Jason Ferguson
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Sugandha,
>> >>
>> >> See if the code here can assist you in reading Shapefile, especially
>> >> the processShapefile() method. Some if it will not be relevant, as the
>> >> main purpose of this class is to take a Shapefile and persist the
>> >> borders to a MySQL database.
>> >>
>> >> Also, I made some changes last night that I didn't push that improved
>> >> the efficiency of persisting the objects significantly.
>> >>
>> >> Jason
>> >>
>> >> On Tue, Oct 23, 2012 at 6:39 AM, Sugandha Naolekar
>> >> <[email protected]> wrote:
>> >> > Hello Micheal!
>> >> >
>> >> > Thanks for the guidance. I shall look into it again and try to build
>> >> > the
>> >> > project fresh using Maven.
>> >> >
>> >> > --
>> >> > Thanks & Regards,
>> >> > Sugandha Naolekar
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Oct 23, 2012 at 4:04 PM, Michael Bedward
>> >> > <[email protected]>
>> >> > wrote:
>> >> >>
>> >> >> Hello Sugandha,
>> >> >>
>> >> >> The links in your email will be seen as spam by many filters -
>> >> >> please
>> >> >> don't include them in posts to this list.
>> >> >>
>> >> >> > I wish to write a simple program which would read the Shapefiles.
>> >> >> > Now
>> >> >> > for
>> >> >> > that matter, I created a simple java project in eclipse and added
>> >> >> > the
>> >> >> > jars
>> >> >> > of geotools.zip in the build path of it. But, I am not able to
>> >> >> > import
>> >> >> > the
>> >> >> > jars relevant to the program.
>> >> >> > I dont want to go the Maven build way. Simply configuring the
>> >> >> > necessary
>> >> >> > jars
>> >> >> > in the build path of a project should work. But it is not. Can I
>> >> >> > please
>> >> >> > get
>> >> >> > a stepwise instruction to make this entire thing work?
>> >> >>
>> >> >> I'm sorry, but using GeoTools without Maven is almost certain to
>> >> >> lead
>> >> >> to problems because of the complex graph of dependencies involved.
>> >> >> You
>> >> >> will find many messages in the list archive where people have tried
>> >> >> to
>> >> >> avoid Maven and eventually given up.
>> >> >>
>> >> >> If you definitely can't, or won't, use Maven I recommend that you
>> >> >> look
>> >> >> at another framework such as OpenJUMP which uses Ant as its build
>> >> >> tool:
>> >> >> http://www.openjump.org/
>> >> >>
>> >> >> > Also, geoserver library is used for what? when will I require it?
>> >> >> > For
>> >> >> > performing all the GIS operations, all I require is geotools.zip.
>> >> >> > Ain't
>> >> >> > dat?
>> >> >>
>> >> >> If you are writing desktop programs to read/write shapefiles,
>> >> >> GeoTools
>> >> >> is all you need. Information about GeoServer (which is built on
>> >> >> GeoTools) can be found at geoserver.org
>> >> >>
>> >> >> Michael
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > Everyone hates slow websites. So do we.
>> >> > Make your web apps faster with AppDynamics
>> >> > Download AppDynamics Lite for free today:
>> >> > http://p.sf.net/sfu/appdyn_sfd2d_oct
>> >> > _______________________________________________
>> >> > GeoTools-GT2-Users mailing list
>> >> > [email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> >> >
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Everyone hates slow websites. So do we.
>> > Make your web apps faster with AppDynamics
>> > Download AppDynamics Lite for free today:
>> > http://p.sf.net/sfu/appdyn_sfd2d_oct
>> > _______________________________________________
>> > GeoTools-GT2-Users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> >
>>
>>
>>
>> --
>> I.R
>
>
>
> ------------------------------------------------------------------------------
> WINDOWS 8 is here.
> Millions of people.  Your app in 30 days.
> Visit The Windows 8 Center at Sourceforge for all your go to resources.
> http://windows8center.sourceforge.net/
> join-generation-app-and-make-money-coding-fast/
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to