问题描述
- WritableName can't load class:
-
http://m.blog.csdn.net/article/details?id=27098983
用了这个Java算关联规则报错了:WritableName can't load class: org.apache.mahout.fpm.pfpgrowth.convertors.string.TopKStringPatterns
at org.apache.hadoop.io.SequenceFile$Reader.getValueClass(SequenceFile.java:2030)
at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1960)
at org.apache.hadoop.io.SequenceFile$Reader.initialize(SequenceFile.java:1810)
请问如何解决呀?!跪谢
解决方案
需要加入?链接设定?-static?这样程序在链接的时候就把需要用到的静态库全部加入到程序当中.......
答案就在这里:can't load library 'libstdc++.so.6'
时间: 2024-12-26 22:41:42