简体   繁体   English

找不到ImportLinkedInProfile的jar

[英]Can't find the jar for ImportLinkedInProfile

I am trying to use LinkedIn in a simple JSP-Servlet based application. 我试图在基于简单JSP-Servlet的应用程序中使用LinkedIn。 In the sample code which I have there is a class called ImportLinkedInProfile. 在我拥有的示例代码中,有一个名为ImportLinkedInProfile的类。 I am finding it difficult to get the jar for this. 我发现很难得到这个罐子。 Any ideas which jar has this? 任何想法有这个罐子? I tried findjar.com but its not listing this class. 我尝试了findjar.com,但未列出此类。

com.cs.liveebiz.server.common.ui.ImportLinkedInProfile; 

Code snippet where this is used - 使用此代码段-

ImportLinkedInProfile importProfile = new ImportLinkedInProfile();
importProfile.processImportedResult(profile); 

The only reference I can find to this class is via a rather useless blog posting . 我可以通过一个相当无用的博客文章找到关于此类的唯一参考。

Given that his example includes the same package declaration as the one you are trying to import (package com.cs.liveebiz.server.linkedinapi) I'd suggest that this is a custom wrapper developed by him. 鉴于他的示例包含与您要导入的包声明相同的包声明(包com.cs.liveebiz.server.linkedinapi),我建议这是他开发的自定义包装器。

Regardless, the actual meat of the code is from the linkedin-j project. 无论如何,代码的实际内容是来自linkedin-j项目。 I've not used that library but it appears to support fetching of a Person from LinkedIn. 我没有使用过该库,但它似乎支持从LinkedIn获取个人信息。 I imagine the class you are wanting to use from JAR is a simple wrapper which maps from a linkedin-j Person object to some other bean suitable for presentation on a webpage. 我想您要在JAR中使用的类是一个简单的包装器,该包装器将一个linkedin -j Person对象映射到其他一些适合在网页上呈现的bean。

In fact, on further inspection of the code on that blog posting, it appears that this class isn't used at all (it's difficult to tell without the source code and the name is fairly obtuse). 实际上,在进一步检查该博客文章中的代码时,似乎根本没有使用该类(没有源代码很难分辨,并且名称相当晦涩)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM