UnsatisfiedLinkError can't find solution any help ?

19 views
Skip to first unread message

spec8320

unread,
May 14, 2014, 7:21:44 AM5/14/14
to pi...@googlegroups.com
Ok so first of all the full error raport: 

https://dl.dropboxusercontent.com/u/16887656/error.log

The code is very simple 

package pl.gpiowebservice.mvc;

import com.pi4j.io.gpio.*;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HelloController {

   
final GpioController gpio = GpioFactory.getInstance();

   
// provision gpio pin #01 as an output pin and turn on
   
final GpioPinDigitalOutput pin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_11, "MyLED", PinState.LOW);

   
@RequestMapping(value="/", method = RequestMethod.GET)
   
public String printWelcome(ModelMap model) {
      model
.addAttribute("message", "Hello world!");
     
return "hello";
   
}

   
@RequestMapping(value="/on", method = RequestMethod.GET)
   
public String on(ModelMap model) {
        pin
.high();
        model
.addAttribute("message", "on");
       
return "hello";
   
}

   
@RequestMapping(value="/off", method = RequestMethod.GET)
   
public String off(ModelMap model) {
        pin
.low();
        model
.addAttribute("message", "off");
       
return "hello";
   
}
}

And the pom https://dl.dropboxusercontent.com/u/16887656/pom.xml

Nothing "advanced". Tomcat is running on ROOT + I tested it on JDK and JRE:

  Selection    Path                                            Priority   Status
------------------------------------------------------------
 
0            /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/java   1043      auto mode
 
1            /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/java   1043      manual mode
* 2            /usr/lib/jvm/jdk-7-oracle-armhf/jre/bin/java     317       manual mode

Any ideas why it don't work ?

Robert Savage

unread,
May 14, 2014, 8:21:35 AM5/14/14
to pi...@googlegroups.com
I commented on this issue in the bug ticket:

Thanks, Robert
Reply all
Reply to author
Forward
0 new messages