Hi Heiko,
you need Java 7 to compile the framework.
Or you can just delete the files that do not compile, you probably won't
need them. If you delete RichPath.scala, there will be one more file in the
dump module that won't compile. You can delete that as well. I think that
should be all.
Hope that helps,
Christopher
On Jul 17, 2013 9:35 AM, "Heiko Paulheim" <[email protected]>
wrote:
> Hi Max,
>
> I' ve tried to follow your instructions. Unfortunately, I get an error
> now when attempting to build the extraction framework...
>
> [INFO] Compiling 195 source files to
> /home/hpaulhei/dbplookup/extraction-framework/core/target/classes at
> 1374046130711
> [ERROR]
>
> /home/hpaulhei/dbplookup/extraction-framework/core/src/main/scala/org/dbpedia/extraction/util/RichPath.scala:4:
> error: object file is not a member of package java.nio
> [INFO] import
> java.nio.file.{Path,Paths,Files,SimpleFileVisitor,FileVisitResult}
> [INFO] ^
> [ERROR]
>
> /home/hpaulhei/dbplookup/extraction-framework/core/src/main/scala/org/dbpedia/extraction/util/RichPath.scala:5:
> error: object file is not a member of package java.nio
> [INFO] import java.nio.file.StandardOpenOption.{CREATE,APPEND}
> [INFO] ^
> [ERROR]
>
> /home/hpaulhei/dbplookup/extraction-framework/core/src/main/scala/org/dbpedia/extraction/util/RichPath.scala:6:
> error: object file is not a member of package java.nio
> [INFO] import java.nio.file.attribute.BasicFileAttributes
> [INFO] ^
> [ERROR]
>
> /home/hpaulhei/dbplookup/extraction-framework/core/src/main/scala/org/dbpedia/extraction/util/RichPath.scala:75:
> error: value getFileName is not a member of type parameter A
> [INFO] def names(glob: String): List[String] =
> list(glob).map(_.getFileName.toString)
> [INFO] ^
> [ERROR] four errors found
>
> Do you have a hint at how to solve that?
>
> Best,
> Heiko
>
>
> Am 25.05.2013 13:42, schrieb Max Jakob:
> > Hello Heiko,
> >
> > I'm sorry for answering so late. Your message slipped through my inbox.
> >
> > On Mon, Apr 29, 2013 at 4:24 PM, Heiko Paulheim
> > <[email protected]> wrote:
> >> Failed to execute goal on project dbpedia-lookup: Could not resolve
> >> dependencies for project org.dbpedia.lookup:dbpedia-lookup:war:3.1:
> >> Could not find artifact org.dbpedia.extraction:core:jar:3.8 in
> >> nxparser-repo (http://nxparser.googlecode.com/svn/repository)
> > DBpedia Lookup now depends on the core of the DBpedia Extraction
> > Framework [1] which is not available in a public Maven repo at the
> > moment. Please see the just updated README [2] for instructions on how
> > to fix this problem.
> >
> > Cheers,
> > Max
> >
> > [1] https://github.com/dbpedia/extraction-framework
> > [2] https://github.com/dbpedia/lookup/blob/master/README.md
> >
>
> --
> Dr. Heiko Paulheim
> Research Group Data and Web Science
> University of Mannheim
> Phone: +49 621 181 2646
> B6, 26, Room C1.08
> D-68131 Mannheim
>
> Mail: [email protected]
> Web: www.heikopaulheim.com
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion